[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Initscript for Suse?



On 01/25/2010 05:47 PM, Malcolm Hunter wrote:

Ah, slightly different to CentOS/Redhat - with those you don't need the "Starting Xymon" / "Stopping Xymon" as these are displayed anyway.

I just 'borrowed' another script and tailored it to work the way I needed. As to the display of messages at boot time, I don't recall checking if they come out without the echo statements. I've been using this script for several years.

What's the reason for changing directory? What's rc_status in this context? Is there a reason for not using "./hobbit.sh restart" instead of "stop / start"?
1. cd? hobbit.sh lives in $HOME/server
2. rc_status? I don't know.
3. hobbit.sh restart? Because at boot time I want Xymon to start (./hobbit.sh start) and at shutdown I want xymon to stop (./xymon.sh stop).

--
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2010 - Apr 9-13, 2010 Covington, KY