Преглед на файлове

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 години
родител
ревизия
a1fb557b6e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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"
 }