Starting ZM automatically with Mandriva 2008 ?

Support and queries relating to all previous versions of ZoneMinder
Locked
antar
Posts: 35
Joined: Mon Mar 20, 2006 1:32 am

Starting ZM automatically with Mandriva 2008 ?

Post by antar »

Hi,
I have ZM 1.23.3 installed and all working with Mandriva 2008 except that it does not start automatically at boot.

I have copied the zm script to the etc/rc.d/init.d. I checked it is there and has the leading 99 in the order start file.

boot several times with no luck. any help please ?

Presently I am starting it manually after each boot : zmpkg.gl start

Do I need to modify the script ? Any suggestions. Thanks
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: Starting ZM automatically with Mandriva 2008 ?

Post by linuxsense »

antar wrote:Hi,
I have ZM 1.23.3 installed and all working with Mandriva 2008 except that it does not start automatically at boot.

I have copied the zm script to the etc/rc.d/init.d. I checked it is there and has the leading 99 in the order start file.

boot several times with no luck. any help please ?

Presently I am starting it manually after each boot : zmpkg.gl start

Do I need to modify the script ? Any suggestions. Thanks
Is it just in init.d or in one of the rc dirs? Did you make sure its set executable?
antar
Posts: 35
Joined: Mon Mar 20, 2006 1:32 am

Solved. install it in /etc/init.d

Post by antar »

Solved.

Install it in /etc/init.d directory in order to work NOT in the etc/rc.d/init.d

did this in the zoneminder scripts directory as root:

install scripts/zm /etc/init.d
chkconfig --add zm
Locked