summaryrefslogtreecommitdiffstats
path: root/ci/utility/collectd_build_rpm.sh
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-08-21 16:03:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-21 16:03:43 +0000
commit68b68820a03ace8e07bc119c874a89e19412d24e (patch)
tree05be473a56c88c376a2c6009180893b1781635d3 /ci/utility/collectd_build_rpm.sh
parent0e0c2886e7f3fedf923049cc64025e1ffe3da88e (diff)
parent1baff0b46c9c91de4b2aa3f50e4f61201131b222 (diff)
Merge "Replace “CapabilityBoundingSet=” line instead of appending"
Diffstat (limited to 'ci/utility/collectd_build_rpm.sh')
-rwxr-xr-xci/utility/collectd_build_rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/utility/collectd_build_rpm.sh b/ci/utility/collectd_build_rpm.sh
index 60275745..e66a5b98 100755
--- a/ci/utility/collectd_build_rpm.sh
+++ b/ci/utility/collectd_build_rpm.sh
@@ -24,7 +24,7 @@ $COLLECTD_DIR/build.sh
$COLLECTD_DIR/configure
sed --regexp-extended \
--in-place=".bak" \
- --expression="/ProtectHome=true/a CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_RAWIO" \
+ --expression="s/^CapabilityBoundingSet=/CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_RAWIO/g" \
$COLLECTD_DIR/contrib/systemd.collectd.service
make dist