Explorar o código

generic celeryd init script now calls stopwait instead of stop, waiting for tasks to complete

Ask Solem %!s(int64=12) %!d(string=hai) anos
pai
achega
9670d0829b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      extra/generic-init.d/celeryd

+ 1 - 1
extra/generic-init.d/celeryd

@@ -129,7 +129,7 @@ export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
 
 
 stop_workers () {
-    $CELERYD_MULTI stop $CELERYD_NODES --pidfile="$CELERYD_PID_FILE"
+    $CELERYD_MULTI stopwait $CELERYD_NODES --pidfile="$CELERYD_PID_FILE"
 }