Skip to content

Ensure that the WebSocket server is still running. #428

Answered by mbabker
gdw96 asked this question in Q&A
Discussion options

You must be logged in to vote

This would be a job for something like supervisord. Below is a basic config I use for one of my apps:

[supervisord]
nodaemon=true

[program:app_websocket]
command=php /var/www/html/bin/console gos:websocket:server
numprocs=1
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gdw96
Comment options

Answer selected by gdw96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #427 on April 13, 2021 17:39.