From 47116ea041bf801ad6ab8a26fae14a3b1b0ba317 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Wed, 9 Sep 2015 17:49:10 +0200 Subject: [PATCH] Only restart collectd on failure Do what the comment says ;) --- contrib/systemd.collectd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.30.2