Back to the list of posts

Configuring Supervisor Ubuntu

Supervisor is a simple open source process manager that which allows you to monitor and control processes on Ubuntu. It is especially useful in cases where you need to run several processes at the same time and monitor their work.

In order to install Supervisor on Ubuntu, you need to run following commands in terminal:

sudo apt-get update
sudo apt-get install supervisor

Once Supervisor is installed, you can run processes in background with the command:

sudo supervisorctl start {processname}

To stop the process, use the command:

sudo supervisorctl stop {processname}

You can also restart the process with the command:

sudo supervisorctl restart {processname}

Supervisor also provides a user-friendly interface for monitoring processes and their status via a web interface. To configure the web interface, you need to add the following lines to the Supervisor configuration file (/etc/supervisor/supervisord.conf):

[inet_http_server]
port=127.0.0.1:9001
username=user
password=pass

You can then open the web interface in a browser at http://localhost:9001.

Overall, using Supervisor on Ubuntu is significantly simplifies work with processes and increases system reliability.

#DevOps #Technologies #Linux #Ubuntu #Supervisor

Back to the list of posts Next post

menuclose

start a project

Заявка отправлена

Спасибо! Заявка отправлена. Свяжемся с вами в течении часа!