How to make ZM automatic start

Forum for questions and support relating to the 1.28.x releases only.
Locked
dsc81
Posts: 3
Joined: Wed Jan 20, 2016 4:14 pm

How to make ZM automatic start

Post by dsc81 »

Hi,
I already install ZM 1.28 in centos 7 x64 work flawlessly (Thanks guys). My question is how to make this ZM always on? Sometimes I got a power shortage that makes all the camera down. I have a UPS in my computer, but why after the power turn back on, the ZM status is stopped, and I must start again. I try this tutorial
http://www.coulterfamily.org.uk/pages/P ... MINDER.php
but cannot work. Anyone can help?
Thanks
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How to make ZM automatic start

Post by knight-of-ni »

That guide was written for an old version of centos and zoneminder.
Nothing in it applies to the version of ZoneMinder or CentOS you are using.

You should undo anything you did from that guide. Since CentOS 7 uses systemd, you especially need to make sure there is no zoneminder sys v init script under /etc/init.d.

If you have installed zoneminder from zmrepo.zoneminder.com, and followed the instructions there, then zoneminder will start automatically on boot up.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked