summarylogtreecommitdiffstats
path: root/smartmeter.service
diff options
context:
space:
mode:
Diffstat (limited to 'smartmeter.service')
-rw-r--r--smartmeter.service15
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