Complete.Org: Mailing Lists: Archives: freeciv: May 2002:
[Freeciv] Re: backgrounding the civserver process?
Home

[Freeciv] Re: backgrounding the civserver process?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Kilobug <le-mig_g@xxxxxxxx>
Cc: brian@xxxxxxxxxxxxx, freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: backgrounding the civserver process?
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Wed, 29 May 2002 17:23:01 +0200

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.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Premature optimization is the root of all evil."
    -- D. E. Knuth in "Structured Programming with go to Statements"


[Prev in Thread] Current Thread [Next in Thread]