From: Ruben Kerkhof Date: Wed, 9 Sep 2015 15:49:10 +0000 (+0200) Subject: Only restart collectd on failure X-Git-Tag: collectd-5.6.0~591^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47116ea041bf801ad6ab8a26fae14a3b1b0ba317;p=collectd.git Only restart collectd on failure Do what the comment says ;) --- diff --git a/contrib/systemd.collectd.service b/contrib/systemd.collectd.service index bf21e414..ba922d6e 100644 --- a/contrib/systemd.collectd.service +++ b/contrib/systemd.collectd.service @@ -13,7 +13,7 @@ EnvironmentFile=-/etc/default/collectd Type=notify # Restart the collectd daemon after a 10 seconds delay, in case it crashes. -Restart=always +Restart=on-failure RestartSec=10 [Install]