[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Initscript for Suse?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Initscript for Suse?
- From: Rich Smrcina <rsmrcina (at) wi.rr.com>
- Date: Mon, 25 Jan 2010 20:52:41 -0600
- References: <4B5CF4E6.3060307 (at) logicaltech.com.au> <20100125084907.165230 (at) gmx.net> <5B1841FCD13E944EAC1CAFA4AE3863DB163162E6D5 (at) pfo-ex002.aii.aiinformatics.com> <4B5E102E.5020105 (at) wi.rr.com> <20100125234716.165190 (at) gmx.net>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
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