summarylogtreecommitdiffstats
path: root/spearmint.service
blob: 7fc8d8ee6aea943d71af3baa4c66e5d5c3186b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=This service spawns a Spearmint dedicated server
# However, these defaults may not apply to all use cases.
# See comments below for further details

[Service]
User=spearmint
Group=games
ExecStart=/opt/spearmint/spearmint-server.launcher +set sv_public 1 +set fs_game baseq3 +map q3dm17
Restart=on-abort
# net_port defines the UDP-port used for connections to the server
# fs_game should be the game you want to play
# sv_pure 0 allows clients to use pk3-files not present on the server
# sv_public 0 is LAN, 1 is Internet
# com_hunkmegs defaults to 384 megabytes

[Install]
WantedBy=multi-user.target