Browse Source

Remove the executable check in the debian init scripts

Ask Solem 14 years ago
parent
commit
0f1f7658d9
2 changed files with 0 additions and 16 deletions
  1. 0 8
      contrib/debian/init.d/celerybeat
  2. 0 8
      contrib/debian/init.d/celeryd

+ 0 - 8
contrib/debian/init.d/celerybeat

@@ -141,14 +141,6 @@ check_dev_null() {
 export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
 
 
-if [ -f "$CELERYBEAT" -a ! -x "$CELERYBEAT" ]; then
-    echo "ERROR: $CELERYBEAT is not executable."
-    echo "Please make it executable by doing: chmod +x '$CELERYBEAT'"
-
-    echo "celeryd is disabled"
-    exit
-fi
-
 stop_worker () {
     cmd="start-stop-daemon --stop \
                            --quiet \

+ 0 - 8
contrib/debian/init.d/celeryd

@@ -135,14 +135,6 @@ check_dev_null() {
 export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
 
 
-if [ -f "$CELERYD" -a ! -x "$CELERYD" ]; then
-    echo "ERROR: $CELERYD is not executable."
-    echo "Please make it executable by doing: chmod +x '$CELERYD'"
-
-    echo "celeryd is disabled"
-    exit
-fi
-
 stop_worker () {
     cmd="start-stop-daemon --stop \
                            --quiet \