Skip to content
Advertisement

Tag: ratchet

Bash script to check a specific php process is running?

I am running websocket server with the nohup command like below. But it stop working after few hours.So i have created a bash script like below Then i run the script with below command like below. The work of the above script if to check my chat-server.php is running or not if it is not running then it will start

Advertisement