X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2Fsystemd.collectd.service;h=c5b1142b5e21b650dd204903b3c3bfe13a15825e;hb=77ca1a45bab2f6adf9301723d0db68e5813a6d98;hp=efd922a6bf01b00d57081349efef4f412605a7c9;hpb=08e419e462e8373538a7aef768bae0b2478e0e89;p=collectd.git diff --git a/contrib/systemd.collectd.service b/contrib/systemd.collectd.service index efd922a6..c5b1142b 100644 --- a/contrib/systemd.collectd.service +++ b/contrib/systemd.collectd.service @@ -11,20 +11,6 @@ EnvironmentFile=-/etc/default/collectd ProtectSystem=full ProtectHome=true -# Some plugins require access to data located in a specified folder, to access -# this data you'll have to specify the path by using the Environment directive -# below. -# -# Here's a (incomplete) list of the plugins known environment requirements: -# intel_pmu XDG_CACHE_HOME -# -# Example, if you use the intel_pmu plugin and cache is located in the /opt -# directory: -# Environment=XDG_CACHE_HOME=/opt -# -# By default, the HOME directory is chosen: -Environment= - # A few plugins won't work without some privileges, which you'll have to # specify using the CapabilityBoundingSet directive below. # @@ -36,6 +22,7 @@ Environment= # 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 # @@ -45,8 +32,6 @@ Environment= # By default, drop all capabilities: CapabilityBoundingSet= -NoNewPrivileges=true - # 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