Skip to content

Commit

Permalink
change celerybeat generic init script to report service as down when …
Browse files Browse the repository at this point in the history
…no pid file can be found
  • Loading branch information
ezarowny committed Dec 9, 2015
1 parent 2a47f42 commit b274229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/generic-init.d/celerybeat
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ check_status () {
local failed=
local pid_file=$CELERYBEAT_PID_FILE
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
elif [ ! -r $pid_file ]; then
echo "${SCRIPT_NAME} is in unknown state, user cannot read pid file."
Expand Down

0 comments on commit b274229

Please sign in to comment.