projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f12cbd
)
Only restart collectd on failure
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Wed, 9 Sep 2015 15:49:10 +0000
(17:49 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 Sep 2015 18:41:33 +0000
(20:41 +0200)
Do what the comment says ;)
contrib/systemd.collectd.service
patch
|
blob
|
history
diff --git
a/contrib/systemd.collectd.service
b/contrib/systemd.collectd.service
index
bf21e41
..
ba922d6
100644
(file)
--- 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]