Scripts/configs I use to manage dedicated xonotic servers.
- Simplicity
- Map/package separation between servers
- Integration with modern linux tools for managing services (systemd, journald)
- Integration with xonotic-map-manager (xmm)
to be written
# systemctl start xonotic@servername
# systemctl stop xonotic@servername
# systemctl resatrt xonotic@servername
# systemctl reload xonotic@servername # (sends rescan_pending 1)
# systemctl start xonotic-all
# systemctl stop xonotic-all
# systemctl restart xonotic-all
# systemctl reload xonotic-all
journalctl -xe -u xonotic@servername
To view the log in the "follow" mode, like tail -f
run:
journalctl -xe -f -u xonotic@servername
For the sake of simplicity I decided not to use tmux/screen. There are two ways of sending commands:
echo command > /var/run/xonotic/servername.fifo
(you have to check the output using journalctl)- Use awesome drcon tool: https://github.com/bacher09/darkplaces-rcon