Starting Xymon via init script no environment variables
18 Jan
2013
18 Jan
'13
5:05 p.m.
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
4905
Age (days ago)
4905
Last active (days ago)
0 comments
1 participants
participants (1)
-
a.chervonets@cominder.eu