Created
August 11, 2020 08:16
-
-
Save manishmore/985525a14ad3845cf18ecbe224cc4ab7 to your computer and use it in GitHub Desktop.
supervisord shell script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash -c "sleep 1 && exit 0" | |
bash -c "sleep 5 && exit 0" | |
bash -c "sleep 1 && exit 1" | |
sh -c "sleep 10 && exit 1" | |
bash -c "if [ -f lock ]; then exit 1; fi; sleep 10 && touch lock && exit 1" | |
bash -c "if [ -f lock ]; then exit 1; fi; sleep 10 && touch lock && exit 1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment