]> granicus.if.org Git - vnstat/commitdiff
Add Upstart job
authorCameron Norman <CameronNemo@users.noreply.github.com>
Mon, 11 Aug 2014 22:53:13 +0000 (15:53 -0700)
committerCameron Norman <CameronNemo@users.noreply.github.com>
Mon, 11 Aug 2014 22:53:13 +0000 (15:53 -0700)
examples/upstart/vnstat.conf [new file with mode: 0644]

diff --git a/examples/upstart/vnstat.conf b/examples/upstart/vnstat.conf
new file mode 100644 (file)
index 0000000..fbf80f6
--- /dev/null
@@ -0,0 +1,6 @@
+description "vnstat - network traffic monitor"
+
+start on runlevel [2345]
+stop on runlevel [016] or deconfiguring-networking or unmounting-filesystem
+
+exec vnstatd -n