Supervisor reread and update

duffn
1 min readJul 30, 2016

--

I needed to add some options to gunicorn running under supervisor the other day. I ran gunicorn from the command line with the new argurments — no problem. I added the arguments to the command in supervisor, restarted with supervisorctl — problem.

Supervisor wasn’t picking up the new arguments. I restarted again. Nothing. I tried the command arguments inline. I tried a gunicorn conf file. I tried a shell script with the commands. All nothing.

After spending an embarrassing amount of time trying to figure out what was wrong, I finally remembered! You need to reread and update the supervisor conf file after making changes. Simply restarting via supervisorctl is not enough.

So don’t forget. Reread and update after changing a supervisor configuration, otherwise it won’t get picked up.

--

--

duffn

I write about Python, Go, Node.js, cloud infrastructure, and data. https://duffn.github.io