]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Remove ProtectSystem from service file 3136/head
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 c5b1142b5e21b650dd204903b3c3bfe13a15825e..fe535bfe86bcf49bbf4a80e7cb00c96f666153a2 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.