projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
No need to wait 10 seconds before restarting
[collectd.git]
/
contrib
/
systemd.collectd.service
diff --git
a/contrib/systemd.collectd.service
b/contrib/systemd.collectd.service
index
bf21e41
..
6a2953a
100644
(file)
--- a/
contrib/systemd.collectd.service
+++ b/
contrib/systemd.collectd.service
@@
-13,8
+13,7
@@
EnvironmentFile=-/etc/default/collectd
Type=notify
# Restart the collectd daemon after a 10 seconds delay, in case it crashes.
-Restart=always
-RestartSec=10
+Restart=on-failure
[Install]
WantedBy=multi-user.target