Hi, I have set below in my monit.conf. check process service1 with pidfile /var/run/wrapper.service1.pid start program = "/etc/rc.d/init.d/service1 start" with timeout 60 seconds stop program = "/etc/rc.d/init.d/service1 stop"
I tried to start the service in this manner monit service1 start Invalid argument -- service1 (-h will show valid arguments) So should I start using my existing method where I get into my wrapper folder /usr/local/wra1/bin/ then key in ./startDaemon.sh? I would like to know if I am doing the right thing? Thank you.
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general