[hobbit] Starting client at boot

Whilding, Craig Craig_Whilding at mentor.com
Tue Jan 17 17:11:32 CET 2006


Thank you that seems to have done the trick.

Craig

-----Original Message-----
From: Rich Smrcina [mailto:rsmrcina at wi.rr.com] 
Sent: 17 January 2006 15:58
To: hobbit at hswn.dk
Subject: Re: [hobbit] Starting client at boot

I use this in my init.d script:

su - hobbit -c "cd /home/hobbit/client; ./runclient.sh start"

Whilding, Craig wrote:
> I want the client (and eventually server too) to startup on my
monitored 
> machines at bootup. Now I can get the process up and running through 
> init.d as user root but not as hobbit. Whats the simplest way to do:
> 
>  
> 
> su hobbit
> 
> /usr/local/hobbit/client/runclient.sh -hostname=xxx
> 
>  
> 
>  
> 
> At machine boot?
> 
>  
> 
> Im new to this area of Linux so it's probably very simple and im
missing 
> something!
> 
>  
> 
>  
> 
> Craig
> 

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (414)491-6001
Ans Service:  (360)715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list