Hello, I want to know how to use mezzio-swoole keeping a daemon as a long time server?
the following command can run a temporary server, but it will break down when my client terminal disconnect with my server:
$ ./vendor/bin/laminas mezzio:swoole:start
How to make it stable like nginx webserver. Should I run a “screen” software to keep the above command always runing? Or should I add a “&” at the end of the above command to make it running in background? Or should I run a “supervisord” software to daemon?
Anybody can teach me on this? Thanks!