summarylogtreecommitdiffstats
path: root/gasmeter.service
blob: 952c6f07e98546f03d13f1661b89f98e11fc0301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Gasmeter
After=network.target

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

[Install]
WantedBy=multi-user.target