Hi,

I have a python script and  used upstart to create a daemon in ubuntu.
 sudo start pixelServer works and the pid file is in /var/run.  I am
using nginx and the server listens on port 80.  Also domain.com/pixel
works.

In monit when I monitor the process I get "execution failed".  Nginx
is monitored.  So...how do I resolve?

Thanks



check process pixelServer
   with pidfile "/var/run/pixelServer.pid"
   start program = "sudo start pixelServer"
   #stop program = "sudo stop pixelServer"
   if failed port 80 protocol HTTP
    request /pixel/
    with timeout 10 seconds
    then start

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to