Page 1 of 1

crossfire -detach (had to pass &) - 1.7.0

Posted: Thu Feb 17, 2005 4:10 am
by yerp
It could be because I am running under openssh (dedicated server has no keyboard..so ssh is easier).

Now, when I ran (as root over ssh - ooh the security risks...) the crossfire server with crossfire -detach It hung, so I waited for it to finish whatever it was doing. No return, so I swapped shells and ssh'ed into it again and found it to be actively running as if nothing was wrong. second I HUP'd it, the original terminal I ran crossfire -detach on sprung back to life.

So, I then tried: crossfire -detach & and I had a free shell.

(I discovered this after I wrote some boot scripts for the private dedicated server) If this is topic has already been started please let me know.

Posted: Sat Feb 19, 2005 7:59 pm
by Avion
You can always use the crossloop script to run the server - it will restart if it crashes and logs each session to boot.

Posted: Sun Feb 20, 2005 2:51 pm
by Casper
Question about crossloop, if the shutdown command is used, does it break out of the loop?