lundi 30 septembre 2019

Laravel - websockets supervisor run error

I´ve been searching but all the answers i found didn´t resolve my problem, my system is centOS and i have followed this instructions with no luck, after that i saw other links, but at some point i´m confused and don´t know what is wrong anymore, so below is what i have done and hopping someone could help me out:

As the instructions say i went to /etc/supervisord.d and created a file called websockets.conf, inside i did this:

[program:websockets]
command=/usr/bin/php /home/gynkgo/artisan websockets:serve
numprocs=1
autostart=true
autorestart=true
user=root

After that, i did the supervisorctl update and then supervisorctl start websockets this last one returns: websockets: ERROR (no such process). This was when i satrted digging for some other solutions and found this so i went to /etc/supervisord.conf, edit the file i putted what is below:(the last version of what i tried)

[program:websockets]
process_name=%(program_name)s_%(process_num)02d
command=php /home/gynkgo/artisan websockets:serve
autostart=true
autorestart=true
user=root
numprocs=3
redirect_stderr=true

but still no luck at all, what am i missing? som epeople say i should have a /etc/supervisor directory but i don´t think that´s the solution, others say that that´s not needed.

Thanks for your time Regards



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2nRU6qu
via IFTTT

Aucun commentaire:

Enregistrer un commentaire