[Freeciv] Re: backgrounding the civserver process?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, May 29, 2002 at 03:10:15PM +0200, Kilobug wrote:
> > Is there a way to background the civserver process on a unix platform? I'd
> > like to be able to start it, then background it and log off the server and
> > have the game continue running. Right now I have to leave the connection to
> > the server open, since the process immediately suspends when it is
> > backgrounded.
> I don't know if there is a way to do this directly with civserver, but
> I think the program "screen" could do the job for you: log to the
> remote server, run screen, run the civserver process under screen, now
> you can detach the screen (C-a d) and log out from the server. The
> process will still run as if it were in foreground. You can later log
> again to the server, and use 'screen -r' to reattach to the previous
> screen, and input commands to the server if you like to.
There is also nohup.
"Premature optimization is the root of all evil."
-- D. E. Knuth in "Structured Programming with go to Statements"