瀏覽代碼

Remove the executable check in the debian init scripts

Ask Solem 15 年之前
父節點
當前提交
0f1f7658d9
共有 2 個文件被更改,包括 0 次插入16 次删除
  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 \