Starting client at boot
list Rich Smrcina
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
list Craig Whilding
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
list Craig Whilding
Thank you that seems to have done the trick. Craig
▸
-----Original Message-----
From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] Sent: 17 January 2006 15:58
To: user-ae9b8668bcde@xymon.invalid
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: (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