Monit Webmin service is not activating
- by Nagaraj
I have written a script in monit interface for Webmin service. I can execute the process wherien I am unable to restart the service.
check process webmin with pidfile /var/webmin/miniserv.pid
start = "/etc/init.d /webmin start"
stop = "/etc/init.d /webmin stop"
if failed host in1.miracletel.com port 10000 then restart
if 5 restarts within 5 cycles then timeout
#if changed pid 2 times within 2 cycles then aler
Would you please look into this and let me know, whether I can considered the service correct or not?