I am using a linux tool called Monit that I am trying to monitor a PHP daemon script.
I do not know how to issue the command correctly.
Please provide me with some sample command for those who are experienced with monit.
I use command like these.
$admin: sudo monit script.php
$admin: sudo monit ./script.php
but it keep saying its not a service
Please help me on this. I normally would run the PHP daemon like this with the command
$admin: sudo ./script.php
and it would run. Now I want to use monit to monitor it. but my command I use above does not work. Please help.