summaryrefslogtreecommitdiffstats
path: root/package/bandwidthd/bandwidthd.service
diff options
context:
space:
mode:
authorNathaniel Roach <nroach44@gmail.com>2015-01-11 13:31:34 +0800
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-11 20:44:52 +0100
commitf1b07c06fa44fc33efab515a549f62f721315d21 (patch)
tree304da3ebc50095bca3ba5dd6d086ef609ee2c245 /package/bandwidthd/bandwidthd.service
parentf3b41df5dbe9c9f1fb03efeb1bed967cb780eef7 (diff)
downloadbuildroot-f1b07c06fa44fc33efab515a549f62f721315d21.tar.gz
buildroot-f1b07c06fa44fc33efab515a549f62f721315d21.zip
bandwidthd: Add systemd unit file and install it to run at startup.
Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bandwidthd/bandwidthd.service')
-rw-r--r--package/bandwidthd/bandwidthd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/bandwidthd/bandwidthd.service b/package/bandwidthd/bandwidthd.service
new file mode 100644
index 0000000000..9c03d42946
--- /dev/null
+++ b/package/bandwidthd/bandwidthd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Bandwidth usage monitor and reporter
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/bandwidthd
+PIDFile=/var/run/bandwidthd.pid
+
+[Install]
+WantedBy=multi-user.target
OpenPOWER on IntegriCloud