[LON-CAPA-admin] loncontrol from script
jdh65 at bellsouth.net
Wed Jul 31 21:41:36 EDT 2013
If I ssh into my LC server, and run:
service loncontrol start
service loncontrol stop
service loncontrol restart
all works as expected.
If, from my computer, I enter (or run a script with this command):
ssh root at myserver.org "service loncontrol stop"
the LC service stops exactly as expected, and the command exits normally.
If, instead, from my computer I enter (or run a script with these commands):
ssh root at myserver.org "service loncontrol start"
ssh root at myserver.org "service loncontrol restart"
loncontrol starts or restarts the LC, but the command does not exit, forcing me to manually terminate the command.
Is this correct behavior? Or is there something that I am missing to get the command/script to exit properly?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LON-CAPA-admin