Programster's Blog

Tutorials focusing on Linux, programming, and open-source

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

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch