Closed GoogleCodeExporter closed 9 years ago
Original comment by massdosage
on 22 Sep 2010 at 11:09
Command in 1 should be more like:
ssh user@host bash /path/to/script.sh args
Original comment by massdosage
on 22 Sep 2010 at 11:59
This actually is not a Citrine-specific issue but can be reproduced running the
above commands using just the command line. The problem is the SSH command not
knowing about the processes it has forked on the remote server. The way to fix
this is to add the "-t" flag when issuing the ssh command. When doing this from
Citrine one needs to add "-tt" to get it to work as the Java process itself
doesn't have a terminal.
So the Citrine command should look something like this:
ssh -tt user@host "/path/to/someScript.sh"
Then when the task is stopped from Citrine it will in turn stop the remote
forked processes.
Original comment by massdosage
on 22 Sep 2010 at 1:59
Original issue reported on code.google.com by
massdosage
on 20 Sep 2010 at 5:17