vim /etc/supervisord.conf
[unix_http_server]
;file=/var/run/supervisor/supervisor.sock ; (the path to the socket file)
file=/var/run/supervisor.sock
chmod=0777 ; sockef file mode (default 0700)
chown=root:root ; socket file uid:gid owner
;username=user ; (default is no username (open server))
;password=123 ; (default is no password (open server))
[supervisorctl]
;serverurl=unix:///var/run/supervisor/supervisor.sock ; use a unix:// URL for a unix socket
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
;serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket
;username=chris ; should be same as http_username if set
;password=123 ; should be same as http_password if set
;prompt=mysupervisor ; cmd line prompt (default "supervisor")
;history_file=~/.sc_history ;
php exec 执行命令重启supervisor
最新推荐文章于 2023-08-22 10:03:00 发布