summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/collectd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collectd/Makefile b/src/collectd/Makefile
index 6fdd4638..87508172 100644
--- a/src/collectd/Makefile
+++ b/src/collectd/Makefile
@@ -67,7 +67,7 @@ force_install:
$(AT)mv /etc/systemd/system/systemd.collectd.service /etc/systemd/system/collectd.service
$(AT)chmod +x /etc/systemd/system/collectd.service
$(AT)sed -i -e 's/ExecStart=\/usr\/sbin\/collectd/ExecStart=\/opt\/collectd\/sbin\/collectd/g' /etc/systemd/system/collectd.service
- $(AT)sed -i -e 's/CapabilityBoundingSet=/CapabilityBoundingSet=CAP_SETUID CAP_SETGID/g' /etc/systemd/system/collectd.service
+ $(AT)sed -i -e 's/CapabilityBoundingSet=/CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_RAWIO/g' /etc/systemd/system/collectd.service
$(AT)systemctl daemon-reload
$(AT)sudo ./include_config.sh
@echo "Make install done"