Search found 3 matches

by truxntrax
Fri Jul 21, 2017 5:27 pm
Forum: ZoneMinder 1.30.x
Topic: cron job to detect "stop" state, restart if needed
Replies: 11
Views: 8492

Re: cron job to detect "stop" state, restart if needed

After a server reboot this is now functioning.

Thanks for your quick and accurate help.

John
by truxntrax
Fri Jul 21, 2017 1:55 pm
Forum: ZoneMinder 1.30.x
Topic: cron job to detect "stop" state, restart if needed
Replies: 11
Views: 8492

Re: cron job to detect "stop" state, restart if needed

Hi,

Many thanks for this. You correctly inferred I am using Ubuntu (16.X)- thanks.

I tried the configuration entry as you advised. Unfortunately it didn't work. Again I get the service error:

no service named "zmdc.pl"

Any other thoughts?

Thanks

John
by truxntrax
Fri Jul 21, 2017 12:47 pm
Forum: ZoneMinder 1.30.x
Topic: cron job to detect "stop" state, restart if needed
Replies: 11
Views: 8492

Re: cron job to detect "stop" state, restart if needed

Hi, Similar issue here. I have decided that monit is the right way to restart the process... Can anyone assist with the correct service that I should define in my monit configuration file? I have: check process zmpkg.pl with pidfile /var/run/zm.pid start program = "/etc/init.d/zoneminder start" stop ...