Xymon Mailing List Archive search

Starting client at boot

list Rich Smrcina
Tue, 17 Jan 2006 09:57:58 -0600
Message-Id: <user-9bf844e70763@xymon.invalid>

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: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

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