summarylogtreecommitdiffstats
path: root/spearmint.service
diff options
context:
space:
mode:
authorbrent s2016-04-03 03:12:10 -0400
committerbrent s2016-04-03 03:12:10 -0400
commit85aaaf0630259cf8bb493544054d103306b5eca9 (patch)
tree9e06963c8054633da93905170b8a4d7a3cb7ed31 /spearmint.service
downloadaur-85aaaf0630259cf8bb493544054d103306b5eca9.tar.gz
initial commit - 0.2
Diffstat (limited to 'spearmint.service')
-rw-r--r--spearmint.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/spearmint.service b/spearmint.service
new file mode 100644
index 000000000000..83c531852d84
--- /dev/null
+++ b/spearmint.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=This service spawns an ioquake3 (Spearmint) dedicated server with sane defaults
+# However, these defaults may not apply to all use cases.
+# See comments below for further details
+
+[Service]
+User=spearmint
+ExecStart=$(which q3ded) +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
+