Browse Source

Fix service stop (#4945)

* 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
Marcus McHale 6 years ago
parent
commit
a1fb557b6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      extra/generic-init.d/celeryd

+ 1 - 1
extra/generic-init.d/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"
 }