X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=contrib%2Fsystemd.collectd.service;h=fe535bfe86bcf49bbf4a80e7cb00c96f666153a2;hp=a3b689ac28c0248c2c4602c04324d940d2b03e5a;hb=2bc8f11d9c7182e24fb62a6efefa3e0b74ac0afb;hpb=01761867ced7bc5fe71546baf350be4a3e800600 diff --git a/contrib/systemd.collectd.service b/contrib/systemd.collectd.service index a3b689ac..fe535bfe 100644 --- a/contrib/systemd.collectd.service +++ b/contrib/systemd.collectd.service @@ -8,8 +8,6 @@ Requires=local-fs.target network-online.target ExecStart=/usr/sbin/collectd EnvironmentFile=-/etc/sysconfig/collectd EnvironmentFile=-/etc/default/collectd -ProtectSystem=full -ProtectHome=true # A few plugins won't work without some privileges, which you'll have to # specify using the CapabilityBoundingSet directive below. @@ -18,8 +16,11 @@ ProtectHome=true # ceph CAP_DAC_OVERRIDE # dns CAP_NET_RAW # exec CAP_SETUID CAP_SETGID +# intel_rdt CAP_SYS_RAWIO +# intel_pmu CAP_SYS_ADMIN # iptables CAP_NET_ADMIN # ping CAP_NET_RAW +# processes CAP_NET_ADMIN (CollectDelayAccounting only) # smart CAP_SYS_RAWIO # turbostat CAP_SYS_RAWIO # @@ -29,7 +30,7 @@ ProtectHome=true # By default, drop all capabilities: CapabilityBoundingSet= -# Tell systemd it will receive a notification from collectd over it's control +# Tell systemd it will receive a notification from collectd over its control # socket once the daemon is ready. See systemd.service(5) for more details. Type=notify