summarylogtreecommitdiffstats
path: root/bandwidthd-webui.service
diff options
context:
space:
mode:
authorOleksandr Natalenko2020-04-09 16:38:22 +0200
committerOleksandr Natalenko2020-04-09 16:38:41 +0200
commit808caede498a3aa24a3c5f296a008208af4e55c3 (patch)
tree56239a63a6aa0c7f425b861ad9824ead1feb4970 /bandwidthd-webui.service
downloadaur-808caede498a3aa24a3c5f296a008208af4e55c3.tar.gz
initial commit
Signed-off-by: Oleksandr Natalenko <oleksandr@redhat.com>
Diffstat (limited to 'bandwidthd-webui.service')
-rw-r--r--bandwidthd-webui.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/bandwidthd-webui.service b/bandwidthd-webui.service
new file mode 100644
index 000000000000..b77740cdd931
--- /dev/null
+++ b/bandwidthd-webui.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Daemon for graphing traffic of subnet machines - Web UI
+PartOf=bandwidthd.service
+After=bandwidthd.service
+
+[Service]
+User=bandwidthd
+Group=bandwidthd
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/nginx -c /etc/bandwidthd/bandwidthd-webui.conf
+PIDFile=/run/bandwidthd/bandwidthd-webui.pid
+
+[Install]
+WantedBy=bandwidthd.service