Make /home, /root and /run/user inaccessible
[collectd.git] / contrib / systemd.collectd.service
index 0659133..50820bd 100644 (file)
@@ -8,6 +8,7 @@ ExecStart=/usr/sbin/collectd
 EnvironmentFile=-/etc/sysconfig/collectd
 EnvironmentFile=-/etc/default/collectd
 ProtectSystem=full
+ProtectHome=true
 
 # Tell systemd it will receive a notification from collectd over it's control
 # socket once the daemon is ready. See systemd.service(5) for more details.