ZMLarch 1.24.2-1 how to start and stop from command line?

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
Eklectick
Posts: 127
Joined: Sat Nov 20, 2004 1:12 am

ZMLarch 1.24.2-1 how to start and stop from command line?

Post by Eklectick »

Hi community

In the pre release of 1.24 I could issue:

service zm stop
service zm start
service zm restart

... commands but using the current install from the cd renders:

-bash: service: command not found

Is there another way to do this same thing in ZMLarch 1.24.2-1 ?

Regards!
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

On Archlinux the equivalent command is "/etc/rc.d/zm start"

In the user account I have an alias set. "rczm" is aliased to "sudo /etc/rc.d/zm" so you can use "rczm start"

You can control the web server with "/etc/rc.d/httpd" or the alias "rchttpd"
Eklectick
Posts: 127
Joined: Sat Nov 20, 2004 1:12 am

Post by Eklectick »

rdmelin

Excellent!

# /etc/rc.d/zm restart
# /etc/rc.d/zm stop
# /etc/rc.d/zm start

Does the old "service zm ... " trick.

Thnx!

Regards!
hypercubedan
Posts: 3
Joined: Thu Sep 30, 2010 1:12 am
Location: CA

Post by hypercubedan »

This worked for me

sudo service zoneminder restart
Post Reply