diff options
-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 |