is there a way to start and stop on commandline for zm ?

Support and queries relating to all previous versions of ZoneMinder
Locked
aot2002
Posts: 73
Joined: Mon Apr 26, 2004 7:10 am

is there a way to start and stop on commandline for zm ?

Post by aot2002 »

is there a way to start and stop on commandline for zm ?
jay
Eklectick
Posts: 127
Joined: Sat Nov 20, 2004 1:12 am

Post by Eklectick »

Hi

I have a LiveCD installation, I do not know if installing it another way triggers ZM differently, I belive it could, but via command line on LiveCD, I can stop it by typing "service zm stop" and start it by typing "service zm start".

Regards!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Service zm start
and
service zm stop
or
service zm restart
All should work (They do on my CD anyway)
If you compiled the souce then you have to manualy install the zm script to init.d as detailed in the readme.
Cheers,
Cordel
aot2002
Posts: 73
Joined: Mon Apr 26, 2004 7:10 am

Post by aot2002 »

i should of been more specific ....what i mean is if i reboot then i need to go into the console to start zm....

using the commands you gave me doesnt do it.
anything else?
jay
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

In Fedora and the like you can use chkconfig to set ZM to start up automatically. I'm sure there is an equivalent in other distros as well.

Phil
aot2002
Posts: 73
Joined: Mon Apr 26, 2004 7:10 am

Post by aot2002 »

it works but i had to reinstall FEDORA stratched CD !
jay
Locked