summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0c9d41e)
raw | patch | inline | side by side (parent: 0c9d41e)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 5 Dec 2014 13:01:05 +0000 (14:01 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 5 Dec 2014 13:01:05 +0000 (14:01 +0100) |
contrib/upstart.collectd.conf | patch | blob | history |
index 69032a5175496affe39a43546464e78fd0ebc8b5..f833edf63fe8343f77c043eb2c09b6b3d69e3ecf 100644 (file)
env DAEMON=/usr/sbin/collectd
# Tell upstart to wait for collectd to SIGSTOP itself, signaling it is ready
-# to run.
+# to run. Warning: this only works with collectd 5.5 and newer. You'll have to
+# use "expect fork" instead, if using collectd 5.4 and older.
expect stop
# prevent thrashing - 10 restarts in 5 seconds
# The daemon will not start if the configuration is invalid.
pre-start exec $DAEMON -t
-# Let's Fork!
+# Let's start!
exec $DAEMON