diff options
author | Daniel Heitmann <dictvm@horrendum.de> | 2014-08-27 15:16:35 +0200 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-08-28 11:20:29 +0100 |
commit | 69aebaacc7b5926d4120f764fc3194dcf3e03d53 (patch) | |
tree | 0612f0473abd22f3b347be3b68619e0a9231949a | |
parent | d8a3ee41876d988698fbe350eb09a5bbc01a2dca (diff) |
removed absolute path to binary, removed sv_pure parameter
-rw-r--r-- | q3a.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/q3a.service b/q3a.service index 88ec16d5..d37c7f16 100644 --- a/q3a.service +++ b/q3a.service @@ -5,12 +5,12 @@ Description=This service spawns a ioquake3 dedicated server with sane defaults [Service] User=q3a -ExecStart=/usr/local/games/ioquake3/ioq3ded.x86_64 +set dedicated 2 +set sv_pure 1 +ExecStart=$(which ioq3ded.x86_64) +set dedicated 2 Restart=on-abort # there are several options to tweak the server's performance: # net_port defines the UDP-port used for connections to the server # fs_game should be the mod you want to play. Not necessary for vanilla-q3/FFA -# dedicated 0 and 1 are LAN, 1 is Internet +# dedicated 0 is non-dedicted an not available with ioq3ded, 1 is LAN, 2 is Internet # sv_pure 1 prevents clients from using their own pk3-files # com_hunkmegs defaults to 56, should be 128/192/256 on a modern system(?) # rate 25000 defines the rate in which client & server communicate |