diff options
author | Alexander Pohl | 2021-05-29 10:28:37 +0200 |
---|---|---|
committer | Alexander Pohl | 2021-05-29 10:28:37 +0200 |
commit | 0386cc28bb3b083668ebdab3f718cc7eae7b4baa (patch) | |
tree | 614c9b8a534cf959e08dcd14f477dcb31cedec4e /smartmeter.service | |
parent | 9688bb6d3612c1f21b3a0c6b820aa4a547ee7cd8 (diff) | |
download | aur-0386cc28bb3b083668ebdab3f718cc7eae7b4baa.tar.gz |
add systemd service and sysusers file
Diffstat (limited to 'smartmeter.service')
-rw-r--r-- | smartmeter.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/smartmeter.service b/smartmeter.service new file mode 100644 index 000000000000..8359362fd3f0 --- /dev/null +++ b/smartmeter.service @@ -0,0 +1,15 @@ +[Unit] +Description=Smartmeter +After=syslog.target + +[Service] +ExecStart=/usr/bin/smartmeter -c /etc/smartmeter.conf +User=smartmeter +Group=smartmeter +NoNewPrivileges=yes +ProtectSystem=full +ProtectHome=true +PrivateTmp=true + +[Install] +WantedBy=multi-user.target |