Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update celerybeat to use sh instead of bash
Updated the init script to work without assuming bash is always available from /bin/bash/ Also see issue #2496
- Loading branch information
458d167
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes unpredictable behavior with the restart function as it loses the exit too quickly and results in the restart failing to restart celerybeat. If you are going to move away from bash rewrite the check_path check_dev_null and wait_stop function to reflect pure shell and not bash functions
458d167
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm that currently restart does not work with this implementation, also when I reboot machine, celerybeat fails to start
458d167
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also reverting this change fixed the restart