فهرست منبع

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"
 }