Explorar o código

Merge pull request #2905 from attiasr/patch-1

fixes broken little-worker example
Ask Solem Hoel %!s(int64=9) %!d(string=hai) anos
pai
achega
33fe575865
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

@@ -39,7 +39,7 @@ fi
 
 
 # Can be a runlevel symlink (e.g. S02celeryd)
-if [ -L "$0" ]; then
+if [[ `dirname $0` == /etc/rc*.d ]]; then
     SCRIPT_FILE=$(readlink "$0")
 else
     SCRIPT_FILE="$0"