Browse Source

Init script: CELERYD_ULIMIT did not have any effect

Ask Solem 11 years ago
parent
commit
13c09a7a06
1 changed files with 1 additions and 1 deletions
  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     \