X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=contrib%2Fsystemd.collectd.service;h=50820bd7389f7bc31742cbe64c8a3295a5c8c65e;hb=71bc7b2a9bf47879ce1824d295465de29ca9b152;hp=ba922d6ec778b50f8dca3848abca50136dd183ab;hpb=47116ea041bf801ad6ab8a26fae14a3b1b0ba317;p=collectd.git diff --git a/contrib/systemd.collectd.service b/contrib/systemd.collectd.service index ba922d6e..50820bd7 100644 --- a/contrib/systemd.collectd.service +++ b/contrib/systemd.collectd.service @@ -7,6 +7,8 @@ Requires=local-fs.target network.target 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. @@ -14,7 +16,6 @@ Type=notify # Restart the collectd daemon after a 10 seconds delay, in case it crashes. Restart=on-failure -RestartSec=10 [Install] WantedBy=multi-user.target