[hobbit] Starting client at boot

Rich Smrcina rsmrcina at wi.rr.com
Tue Jan 17 16:57:58 CET 2006


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



More information about the Xymon mailing list