tlaverdure / laravel-echo-server

Socket.io server for Laravel Echo
MIT License
2.64k stars 509 forks source link

Keep running #524

Open robertnicjoo opened 4 years ago

robertnicjoo commented 4 years ago

How we can keep laravel-echo-server start command running? (something like forever.js)

As soon as I close my terminal this command will terminate and connections will be lost. So how to keep running it?

KuenzelIT commented 4 years ago

I used pm2 to keep the echo server running in a project. It works well, but I'm not sure if it is the best way to do this.

krembo commented 3 years ago

We run this with supervisor on Ubuntu for 3+ years. No problems so far.