Herramientas de usuario

Herramientas del sitio


wiki2:supervisor

¡Esta es una revisión vieja del documento!


Supervisor

Basics

Install

sudo apt-get install supervisor 

Configure

In path /etc/supervisor/supervisord.conf we can configure it for any user:

[unix_http_server]
;file=/var/run/supervisor.sock ; (the path to the socket file)
file=/tmp/supervisor.sock ; (the path to the socket file)
chmod=0777 ; sockef file mode (default 0700)

Start\Stop the service

$ service supervisor stop
$ service supervisor start

Management

  • supervisorctl status
  • supervisorctl start process
  • supervisorctl stop process

Adding programs

After adding a program

$ supervisorctl reread
$ supervisorctl update
wiki2/supervisor.1430991339.txt.gz · Última modificación: 2020/05/09 09:24 (editor externo)