diff options
author | Emma Foley <emma.l.foley@intel.com> | 2017-08-21 16:03:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-21 16:03:43 +0000 |
commit | 68b68820a03ace8e07bc119c874a89e19412d24e (patch) | |
tree | 05be473a56c88c376a2c6009180893b1781635d3 /ci/utility/collectd_build_rpm.sh | |
parent | 0e0c2886e7f3fedf923049cc64025e1ffe3da88e (diff) | |
parent | 1baff0b46c9c91de4b2aa3f50e4f61201131b222 (diff) |
Merge "Replace “CapabilityBoundingSet=” line instead of appending"
Diffstat (limited to 'ci/utility/collectd_build_rpm.sh')
-rwxr-xr-x | ci/utility/collectd_build_rpm.sh | 2 |
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 |