User Tools

Site Tools


unreal_tournament_2004_linux_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
unreal_tournament_2004_linux_server [2019/06/09 19:34] joshunreal_tournament_2004_linux_server [2019/06/09 19:46] (current) – add systemd service josh
Line 55: Line 55:
  
 And copy in all custom maps, static meshes, textures, etc... to ''/home/ut2004/ut2004/custom'' And copy in all custom maps, static meshes, textures, etc... to ''/home/ut2004/ut2004/custom''
 +
 +Add ''/home/ut2004/bin/ut2004-server'':
 +
 +<code>
 +#!/bin/sh
 +
 +cd $HOME/ut2004/System
 +while [ true ]; do
 +  ./ucc-bin-linux-amd64 server CTF-Face3?game=XGame.xCTFGame?Mutator=XGame.MutZoomInstaGib,InfiniteWallDodges.MutInfiniteWallDodges,Vendetta_V4.MutVendetta ini=Default.ini log=server.log -nohomedir
 +done
 +</code>
 +
 +Add ''/lib/systemd/system/ut2004.service'':
 +
 +<code>
 +[Unit]
 +Description=Unreal Tournament 2004 Server
 +
 +[Service]
 +User=ut2004
 +Group=ut2004
 +ExecStart=/home/ut2004/bin/ut2004-server
 +
 +[Install]
 +WantedBy=multi-user.target
 +</code>
unreal_tournament_2004_linux_server.1560123263.txt.gz · Last modified: by josh