Zoneminder starts up with the system state "stopped", and I have to 1) know that ZM or the machine has started|restarted, 2) log in to the console, and 3) click on the "ZoneMinder Console <Stopped> link and select <start> and <apply> to start it. This defeats any automatic ZM monitoring on boot or after a power failure.
How can I script or flag the system to startup 'running'?
A prior version didn't exhibit this behavior, but my slightly b0rked 1.24.1 install seems to also startup stopped.
How to have system state 'running' on startup?
Gee, I thought I posted this to the tips forum, not zm 1.24 (I've yet to get that to work).
From the wiki (http://www.zoneminder.com/wiki/index.ph ... stallation): "The 'zm' script does not get installed automatically as it is not necessary for the operation of the ZoneMinder setup per se and is not necessarily likely to work correctly for distributions other than those from the RedHat or Fedora families."
On that advice, I did not install zm to init.d (these are debian systems), tho mayhaps I should. The zm script, when called with the start parameter, calls zmpkg.pl, and that appears to have logic for pulling the state from mysql tables. I now suspect that I should try to call zmpkg.pl on startup. I'll see if I can get that to happen & report back.
From the wiki (http://www.zoneminder.com/wiki/index.ph ... stallation): "The 'zm' script does not get installed automatically as it is not necessary for the operation of the ZoneMinder setup per se and is not necessarily likely to work correctly for distributions other than those from the RedHat or Fedora families."
On that advice, I did not install zm to init.d (these are debian systems), tho mayhaps I should. The zm script, when called with the start parameter, calls zmpkg.pl, and that appears to have logic for pulling the state from mysql tables. I now suspect that I should try to call zmpkg.pl on startup. I'll see if I can get that to happen & report back.