From: Ruben Kerkhof Date: Wed, 9 Sep 2015 15:52:53 +0000 (+0200) Subject: Make /home, /root and /run/user inaccessible X-Git-Tag: collectd-5.6.0~591^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=71bc7b2a9bf47879ce1824d295465de29ca9b152;p=collectd.git Make /home, /root and /run/user inaccessible --- diff --git a/contrib/systemd.collectd.service b/contrib/systemd.collectd.service index 06591335..50820bd7 100644 --- a/contrib/systemd.collectd.service +++ b/contrib/systemd.collectd.service @@ -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.