Last active
October 25, 2018 03:03
-
-
Save BenMcLean/b424fc9ed77b660b823b8e0ada898c46 to your computer and use it in GitHub Desktop.
darkplaces-server as a systemd service on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=This service spawns a Darkplaces Quake dedicated server. | |
# Place this file in /lib/systemd/system | |
# To enable this service to launch at boot time, enter in a terminal: systemctl enable darkplaces.service | |
# To disable this service from launching at boot time, enter in a terminal: systemctl disable darkplaces.service | |
# To check the state of all existing unit files, enter in a terminal: systemctl list-unit-files | |
# I followed these instructions to install Darkplaces, except for the parts about starting the dedicated server on boot because those parts don't work anymore: https://ubuntuforums.org/showthread.php?t=2095900 | |
# I based this service on https://github.com/cdev-tux/q3lite/blob/ba3f578b0dc93f2af645724fad283e7484b8d77e/misc/q3lite/pi/q3lite_ded.service | |
[Service] | |
User=root | |
ExecStart=/usr/games/darkplaces-server -basedir /usr/share/games/quake +exec debian_server.cfg | |
Restart=on-abort | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment