Remove ProtectSystem from service file
authorMatthias Runge <mrunge@redhat.com>
Fri, 5 Apr 2019 13:19:19 +0000 (15:19 +0200)
committerMatthias Runge <mrunge@redhat.com>
Fri, 5 Apr 2019 13:19:19 +0000 (15:19 +0200)
This prevents showing eg. /etc if that's a separate file system.

Resolves: https://github.com/collectd/collectd/issues/3134

contrib/systemd.collectd.service

index c5b1142..fe535bf 100644 (file)
@@ -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.