Linux Server

From Oldunreal-Wiki
Revision as of 08:21, 29 September 2012 by Smirftsch (talk | contribs) (Created page with "To start a Linux server via Terminal I use the following script inside the Unreal/System directory: until ./UCCLinux.bin server DMDeck16?Game=Unrealshare.Deathmatchgame; do ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To start a Linux server via Terminal I use the following script inside the Unreal/System directory:

until ./UCCLinux.bin server DMDeck16?Game=Unrealshare.Deathmatchgame; do

   echo "Server 'UCCLinux.bin' crashed with exit code $?. Respawning.." >&2
   sleep 1

done

this way the server is restarted automatically in case of a crash, but won't do it if the server is shut down nicely.


to start it from remote and being able to disconnect then I use: nohup ./serverstart &


the log will be then in the file nohup.out, but watch it, it can grow very big over time.