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 » Wed Apr 21, 2010 12:17 am

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 » Wed Apr 21, 2010 12:34 am

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 » Wed Apr 21, 2010 12:45 am

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 » Tue Oct 12, 2010 10:20 pm

This worked for me

sudo service zoneminder restart

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests