Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
@mnaberez

This comment has been minimized.

Copy link

mnaberez commented Nov 7, 2013

The supervisor-serialrestart plugin will do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.