$ yum remove supervisor
$ yum install epel-release
$ yum install supervisor
$ yum update
SEMPRE BOM EVITAR CONFIGURAR DIRETAMENTE NO ARQUIVO:
/etc/supervisord.d
$ vim /etc/supervisord.d/laravel-worker.ini
[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /home/pusher/artisan websockets:serve
autostart=true
autorestart=true
startsecs=3
startretries=3
user=apache
numprocs=8
redirect_stderr=true
stdout_logfile=/home/pusher/storage/logs/worker.log
$ systemctl start supervisord
$ systemctl stop supervisord
$ systemctl restart supervisord
$ systemctl status supervisord
$ systemctl enable supervisord
Adiciona o serviço na inicialização
$ systemctl enable supervisord