Check if a PHP CLI process is running
Hello,
I have a custom PHP script that open a UDP for listening incomming connection. I need this process be always active.
Is there a way to do this with chkservd or tailwatch?
The process is initiated from /etc/rc.local , this way:
sudo -u {user} /usr/local/bin/php -f /home/path/to/script.php > /dev/null &
Regards,
-Walter
Hello,
I have a custom PHP script that open a UDP for listening incomming connection. I need this process be always active.
Is there a way to do this with chkservd or tailwatch?
The process is initiated from /etc/rc.local , this way:
sudo -u {user} /usr/local/bin/php -f /home/path/to/script.php > /dev/null &
Regards,
-Walter
Last edited: