Explorar o código

Init script: CELERYD_ULIMIT did not have any effect

Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
13c09a7a06
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

@@ -182,7 +182,7 @@ _get_worker_pids() {
 
 
 start_workers () {
-    if [ -z "$CELERYD_ULIMIT" ]; then
+    if [ ! -z "$CELERYD_ULIMIT" ]; then
         ulimit $CELERYD_ULIMIT
     fi
     $CELERYD_MULTI $* start $CELERYD_NODES $DAEMON_OPTS     \