Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: rok on October 20, 2005, 01:45:27 PM

Title: how do i start a linux server as a daemon?
Post by: rok on October 20, 2005, 01:45:27 PM
how do i start a linux server as a daemon (or in the background)?
Title: Re: how do i start a linux server as a daemon?
Post by: jitspoe on October 20, 2005, 02:13:48 PM
./paintball2 +set dedicated 1 +exec server.cfg +map midnight &

The & will put it in the background.
Title: Re: how do i start a linux server as a daemon?
Post by: rok on October 20, 2005, 03:11:22 PM
works fine. thx!

there is any screenlogging. how can i turn this off?
Title: Re: how do i start a linux server as a daemon?
Post by: jitspoe on October 20, 2005, 03:24:02 PM
Screenlogging?  You mean ouputting things to the screen?  I think you can stop that with +set nostdout 1.
Title: Re: how do i start a linux server as a daemon?
Post by: rok on October 23, 2005, 11:23:32 AM
yes, thx again!
can i write this into a logfile?
Title: _
Post by: IronFist on October 23, 2005, 11:27:23 AM
Post removed
Title: Re: how do i start a linux server as a daemon?
Post by: jitspoe on October 23, 2005, 03:11:36 PM
yes, thx again!
can i write this into a logfile?

logfile

Type: Toggle

Default: 0

Description: Toggle the logging of console messages.

Values:
0 - Disable logging.
1 - Enable buffered logging where the log file is only updated when the text buffer fills up. The log file will be deleted and overridden when a new server starts up.
2 - Enable continuous logging where the log file is updated with every new line of text. The log file will be deleted and overridden when a new server starts up.
3 - Enable continuous logging where the log file is updated with ever new line of text. The log file will be appended to and logging will continue to the same log file when a new server starts up.

From http://www.planetquake.com/console/commands/quake_2.html

Put "set logfile 3" in your config or command line (with command line, you need to use +set logfile 3).