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 năm trước cách đây
mục cha
commit
a1fb557b6e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"
 }