View Single Post
  #3  
Old April 18th, 2004, 11:21 PM

BugRoger BugRoger is offline
Corporal
 
Join Date: Jan 2004
Location: Berlin, Germany
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
BugRoger is on a distinguished road
Default Re: Redirect output of Linux Dominions server to logfile?

My script looks like this:
code:
 
#!/bin/bash

nohup dom2 --postexec notification_IslandOfDoom --tcpserver --port 6666 --hours 48 --quickhost --noclientstart --mapfile sundering.map --textonly -ddd --statfile Island_of_Doom &> logfile &

So I guess the -T switch is set. I have the feeling that my problem is that I just kill the dom server and it dies before flushing the output to the file.

How does one stop the dom server properly? Especially when it is running in the background.
Reply With Quote