Created
November 6, 2013 04:09
-
-
Save dcramer/7330744 to your computer and use it in GitHub Desktop.
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
# supervisor | |
[sentry] | |
numprocs=10 | |
command=uwsgi --addr=0.0.0.0:90%(process_num)02d | |
# when you restart it does them in batches, instead of one at a time | |
$ sudo supervisorctl restart sentry | |
- stops all 10 procs | |
- starts all 10 procs | |
# I want it to do | |
- stop one proc, start one proc | |
- rinse and repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The supervisor-serialrestart plugin will do this.