Run SSH command on startup

hi,

i need to run this command after the yamon service is started to manually create the symlinks (bug in yamon V4)

i put it in startup command but it doesnt work. i still need to manually run the command in putty. what am i doing wrong

heres the command:
ln -s /tmp/www /www/yamon

put it in the local start up script ?

stop the service
create the softlink
(re)start the service

i put in /etc/rc.local like this

ln -s /tmp/www /www/yamon
exit 0

but it doesnt seem to work

what doesn't seem to work ?

i figured it out, i saved the command line to .sh file then put the path of the sh file on the startup command. that works. yamon symlinks created during startup

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.