2014-08-26 16:54:22 +00:00
|
|
|
[Unit]
|
|
|
|
Description=This service spawns a ioquake3 dedicated server with sane defaults
|
|
|
|
# However, these defaults may not apply to all use cases.
|
|
|
|
# See comments below for further details
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=q3a
|
2014-08-27 13:16:35 +00:00
|
|
|
ExecStart=$(which ioq3ded.x86_64) +set dedicated 2
|
2014-08-26 16:54:22 +00:00
|
|
|
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
|
2014-08-27 13:16:35 +00:00
|
|
|
# dedicated 0 is non-dedicted an not available with ioq3ded, 1 is LAN, 2 is Internet
|
2014-08-26 16:54:22 +00:00
|
|
|
# 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(?)
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|