Page 1 of 1

Having zoneminder automatically start in running state

Posted: Wed Sep 12, 2012 3:42 pm
by GrangerTech
I have a zoneminder set up on ubuntu 10.04. Zoneminder is installed and the process is running at boot however when I open the zm console it says zoneminder is stopped. How do I make it so zoneminder is in the running state automatically at boot?

It needs to be automatically done because this computer isnt constantly checked...its used only for zoneminder.

Thanks

Re: Having zoneminder automatically start in running state

Posted: Thu Sep 13, 2012 5:41 am
by PacoLM
Install the package rcconf or chkconfig, then select the zm package to be started at boot.

Re: Having zoneminder automatically start in running state

Posted: Thu Sep 13, 2012 10:01 am
by Carrier82
At least in ubuntu 12.04 you need to add 'sleep 15' to /etc/init.d/zoneminder before line 'zmfix -a' to make sure mysqld starts before zoneminder. If this isn't done, zoneminder won't start at boot even if it's supposed to.