From: Matthias Runge Date: Fri, 5 Apr 2019 13:19:19 +0000 (+0200) Subject: Remove ProtectSystem from service file X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6e0993a4c75609e08879a6be69013d592c9d6aed;p=collectd.git Remove ProtectSystem from service file This prevents showing eg. /etc if that's a separate file system. Resolves: https://github.com/collectd/collectd/issues/3134 --- diff --git a/contrib/systemd.collectd.service b/contrib/systemd.collectd.service index c5b1142b..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.