summarylogtreecommitdiffstats
path: root/smartmeter.service
blob: c41b821778b160b682b7b1e36ba0b62fdc95171b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Smartmeter
After=syslog.target
Wants=mosquitto

[Service]
ExecStart=/usr/bin/smartmeter -c /etc/smartmeter.conf
User=smartmeter
Group=smartmeter
NoNewPrivileges=yes
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target