Author Topic: how do i start a linux server as a daemon?  (Read 1938 times)

rok

  • Guest
how do i start a linux server as a daemon?
« on: October 20, 2005, 01:45:27 PM »
how do i start a linux server as a daemon (or in the background)?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: how do i start a linux server as a daemon?
« Reply #1 on: October 20, 2005, 02:13:48 PM »
./paintball2 +set dedicated 1 +exec server.cfg +map midnight &

The & will put it in the background.

rok

  • Guest
Re: how do i start a linux server as a daemon?
« Reply #2 on: October 20, 2005, 03:11:22 PM »
works fine. thx!

there is any screenlogging. how can i turn this off?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: how do i start a linux server as a daemon?
« Reply #3 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.

rok

  • Guest
Re: how do i start a linux server as a daemon?
« Reply #4 on: October 23, 2005, 11:23:32 AM »
yes, thx again!
can i write this into a logfile?

IronFist

  • Autococker
  • Posts: 1304
_
« Reply #5 on: October 23, 2005, 11:27:23 AM »
Post removed
« Last Edit: July 25, 2010, 11:08:00 PM by IronFist »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: how do i start a linux server as a daemon?
« Reply #6 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).