Run Supervisor In Foreground
If supervisor is not behaving as you expect, then you might want to have it run in the foreground and view the output. To do that, find the supervisord.conf
file which is usually at /etc/supervisor/supervisord.conf
.
Adding the following lines to the end of it to tell supervisor not to run as a daemon process.
[supervisord]
nodaemon=true
Now you need to stop any running supervisor processes.
sudo systemctl stop supervisor
Now manually run it as a processs
sudo supervisord
You should now see supervisor working away in the foreground.
Last updated: 15th July 2021
First published: 16th August 2018
First published: 16th August 2018