blob: bcb0f4791ccd82eaaca69e0ec15af4499f2a8beb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
launch the unit service as the unprivileged user vnstat
--- a/examples/systemd/simple/vnstat.service
+++ b/examples/systemd/simple/vnstat.service
@@ -4,6 +4,7 @@
After=network.target
[Service]
+User=vnstat
ExecStart=/usr/sbin/vnstatd --nodaemon
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
|