* Fix service stop The kill_workers function was missing the $DAEMON_OPTS parameters. In my case this contained the work-dir option required to find the PID file. * Update celeryd * Update celeryd
@@ -284,7 +284,7 @@ restart_workers () {
kill_workers() {
- _chuid kill $CELERYD_NODES --pidfile="$CELERYD_PID_FILE"
+ _chuid kill $CELERYD_NODES $DAEMON_OPTS --pidfile="$CELERYD_PID_FILE"
}