Open emudojo opened 11 years ago
I used the following command to run it as a background process: nohup php app/console clank:server > /dev/null 2>&1 &
Basically, nohup means that the service won't end after you close the session, while > /dev/null 2>&1 basically directs all outputs from the script to nowhere, and & runs it as a background process.
Hi.
I'm trying clank server in a staging server (replication from my prod) and using nohup and & after a while the server stops working, in the nohup file I can see the connections how are connected and disconnected, and the responses from the services, but the messages are not sent, any idea?
I know I can launch the server by issuing php app/console clank:server but that's less than ideal, sending it to the background does not work, any suggestion ?