adapt contrib script
[collectd.git] / contrib / upstart.collectd.conf
index 1c7fd9c..c175ee6 100644 (file)
@@ -32,7 +32,7 @@ stop on runlevel [!2345]
 env DAEMON=/usr/sbin/collectd
 
 # Tell upstart to watch for forking when tracking the pid for us.
-expect fork
+expect stop
 
 # prevent thrashing - 10 restarts in 5 seconds
 respawn