Creating a Configuration File

Once the Supervisor installation has completed, runecho_supervisord_conf. This will print a “sample” Supervisorconfiguration file to your terminal’s stdout.

Once you see the file echoed to your terminal, reinvoke the command asecho_supervisord_conf>/etc/supervisord.conf. This won’t work ifyou do not have root access.

If you don’t have root access, or you’d rather not put thesupervisord.conf file in /etc/supervisord.conf, youcan place it in the current directory (echo_supervisord_conf>supervisord.conf) and start supervisord with the-c flag in order to specify the configuration filelocation.

For example, supervisord-csupervisord.conf. Using the -cflag actually is redundant in this case, becausesupervisord searches the current directory for asupervisord.conf before it searches any other locations forthe file, but it will work. See Running Supervisor for more informationabout the -c flag.

Once you have a configuration file on your filesystem, you canbegin modifying it to your liking.