[Xymon] Starting Xymon via init script no environment variables
Andrey Chervonets
a.chervonets at cominder.eu
Fri Jan 18 18:05:48 CET 2013
I see there is " /usr/bin/sudo -u xymon /home/xymon/client/runclient.sh
start"
Try, instead, to use jus "su - ":
#
/usr/bin/su - xymon -c "/home/xymon/client/runclient.sh start"
#
su - username - starts the new session under user account with required
user variables.
auto-start script is run with root anyway - so You need to use sudo.
Best regards,
Andrey Chervonets
----------------------
CoMinder Ltd.
http://www.cominder.eu/
Mobile: +371 26517848
Fax: +371 66066346
On 17.01.2013 13:00, xymon-request at xymon.com wrote:
> /usr/bin/sudo -u
More information about the Xymon
mailing list