Linux Server

From Oldunreal-Wiki
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

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.