summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>2017-02-02 11:47:19 +0000
committerPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>2017-02-07 09:41:48 +0000
commit753e05a38256d62561c02a5ab70c568d75e6ec7e (patch)
treecf618fbea9e527aea2d8c53dc0428461bfad02ec /src
parentdb2a072737233fd5aa7e4c71d0c0542a846c780c (diff)
src: don't add executable permission bits to collectd.service
Change-Id: I5133df1ba7108d2cc7a8325a3fb74e1db35c869b Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/collectd/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/collectd/Makefile b/src/collectd/Makefile
index 87508172..9e4b484c 100644
--- a/src/collectd/Makefile
+++ b/src/collectd/Makefile
@@ -65,7 +65,6 @@ force_install:
$(AT)$(MAKE) -C $(WORK_DIR) install
$(AT)cp $(WORK_DIR)/contrib/systemd.collectd.service /etc/systemd/system/
$(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 CAP_SYS_RAWIO/g' /etc/systemd/system/collectd.service
$(AT)systemctl daemon-reload