summaryrefslogtreecommitdiff
path: root/community/vnstat/service
diff options
context:
space:
mode:
Diffstat (limited to 'community/vnstat/service')
-rw-r--r--community/vnstat/service9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/vnstat/service b/community/vnstat/service
new file mode 100644
index 000000000..5c593eb1b
--- /dev/null
+++ b/community/vnstat/service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Network traffic monitor
+
+[Service]
+ExecStart=/usr/bin/vnstatd -n
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target