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.

Author

Programster

Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus