Btw, often I find when people say that the & doesn't work at the end of a command, they are quitting putty or something without an exit/quit command, and just closing the window which causes it to die, whereas closing properly will keep it running with & at the end.
For those that don't use screen (or want to), I often suggest doing "nohup ./command blah blah &" to cover pretty much all bases I can think of with how they quit. Having said that, I personally always use screen, just as I find it easier to reattach anytime when fault finding etc. Ian On 7/31/05, Sebastian <[EMAIL PROTECTED]> wrote: > Cory Clemmer wrote: > > >On 30/07/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > >>how to leave hlds running after closeing ssh? when I close my connection to > >>the root my server quits also. > >> > >> > > > >I use this command to start the server (taken from > >http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920 ) > >screen -A -m -d -S gm-server ./srcds_run -console -game gmod +map > >gm_construct +maxplayers 6 > > > >and then when I need an interactive console I use this command. > >screen -x gm-server > > > > > >On 31/07/05, Sebastian <[EMAIL PROTECTED]> wrote: > > > > > >>why does everyone say you need screen.. you dont need it. > >>we run a few servers and have never needed it.. send output to log file > >>or /dev/null and a simple & sends it to the background.. > >> > >> > > > >Just because "you" don't have a need for something doesn't mean nobody > >else does, screen is a useful tool when used properly > > > > > there is a difference between useful and actually needing... i never > said it wasn't useful, i said it is not needed. so why bother telling > someone to install something when it's not needed for what they're > trying to do.. you make it sound like it is mandatory to install screen > to send a process to the background... if you know *nix you would know > it is not required. > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005 > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux