1 2 3 4 5 6 7 8 9 10 11 12 13 14 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