mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 13:12:07 +00:00
Merge pull request #80 from dictvm/master
added systemd unit for easier server-deployment
This commit is contained in:
commit
0a70da823b
1 changed files with 21 additions and 0 deletions
21
q3a.service
Normal file
21
q3a.service
Normal file
|
@ -0,0 +1,21 @@
|
|||
[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
|
||||
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 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
|
||||
# snaps 40 defines gamestate-snapshots client & server exchange in secs
|
||||
# cl_maxpackets 125 max amount of FPS being counted on the server-side
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue