Page 1 of 1

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

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

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

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

Posted: Tue Oct 12, 2010 10:20 pm
by hypercubedan
This worked for me

sudo service zoneminder restart