DEV Community

Bobby Iliev
Bobby Iliev

Posted on

Installing supervisord on a CentOS server

If you install the supervisord package directly via the default repos you might get an outdated version.

  1. To install the latest supervisord version you need to use:
easy_install supervisor 
Enter fullscreen mode Exit fullscreen mode
  1. After the installation to generate a plain config file run:
echo_supervisord_conf > /etc/supervisord.conf 
Enter fullscreen mode Exit fullscreen mode
  1. To start with the new conf run:
supervisord -c /etc/supervisord.conf 
Enter fullscreen mode Exit fullscreen mode
  1. Then to start all workers run:
supervisorctl start all 
Enter fullscreen mode Exit fullscreen mode
  1. To check the status run:
supervisorctl status 
Enter fullscreen mode Exit fullscreen mode

If you are getting lots of FATAL errors, you are better off stopping the workers and checking the logs:

supervisorctl stop all 
Enter fullscreen mode Exit fullscreen mode

This is pretty much it! Hope that this helps!

This article was originally posted on here.

Top comments (0)