diff options
-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 |