summarylogtreecommitdiffstats
path: root/bandwidthd.service
diff options
context:
space:
mode:
Diffstat (limited to 'bandwidthd.service')
-rw-r--r--bandwidthd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/bandwidthd.service b/bandwidthd.service
new file mode 100644
index 000000000000..b9bf7c9734b4
--- /dev/null
+++ b/bandwidthd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Daemon for graphing traffic of subnet machines
+Requires=network-online.target
+
+[Service]
+User=bandwidthd
+Group=bandwidthd
+CapabilityBoundingSet=CAP_NET_RAW
+AmbientCapabilities=CAP_NET_RAW
+ExecStart=/usr/bin/bandwidthd -D -c /etc/bandwidthd/bandwidthd.conf
+PIDFile=/run/bandwidthd/bandwidthd.pid
+
+[Install]
+WantedBy=multi-user.target