فهرست منبع

change celerybeat generic init script to report service as down when no pid file can be found

Eric Zarowny 10 سال پیش
والد
کامیت
9ac3ad1ada
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      extra/generic-init.d/celerybeat

+ 1 - 1
extra/generic-init.d/celerybeat

@@ -251,7 +251,7 @@ check_status () {
     local failed=
     local failed=
     local pid_file=$CELERYBEAT_PID_FILE
     local pid_file=$CELERYBEAT_PID_FILE
     if [ ! -e $pid_file ]; then
     if [ ! -e $pid_file ]; then
-        echo "${SCRIPT_NAME} is up: no pid file found"
+        echo "${SCRIPT_NAME} is down: no pid file found"
         failed=true
         failed=true
     elif [ ! -r $pid_file ]; then
     elif [ ! -r $pid_file ]; then
         echo "${SCRIPT_NAME} is in unknown state, user cannot read pid file."
         echo "${SCRIPT_NAME} is in unknown state, user cannot read pid file."