Skip to content

Scripts/config I use to manage dedicated xonotic servers.

License

Notifications You must be signed in to change notification settings

nsavch/infra-xon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

infra-xon

Scripts/configs I use to manage dedicated xonotic servers.

Goals

  • Simplicity
  • Map/package separation between servers
  • Integration with modern linux tools for managing services (systemd, journald)
  • Integration with xonotic-map-manager (xmm)

Initial setup

to be written

Commands

Start/stop/restart a single xonotic server:

# systemctl start xonotic@servername
# systemctl stop xonotic@servername
# systemctl resatrt xonotic@servername
# systemctl reload xonotic@servername   # (sends rescan_pending 1)

Start/stop/restart all xonotic servers

# systemctl start xonotic-all
# systemctl stop xonotic-all
# systemctl restart xonotic-all
# systemctl reload xonotic-all

View console log of a server

journalctl -xe -u xonotic@servername

To view the log in the "follow" mode, like tail -f run:

journalctl -xe -f -u xonotic@servername

Send commands to server

For the sake of simplicity I decided not to use tmux/screen. There are two ways of sending commands:

  1. echo command > /var/run/xonotic/servername.fifo (you have to check the output using journalctl)
  2. Use awesome drcon tool: https://github.com/bacher09/darkplaces-rcon

About

Scripts/config I use to manage dedicated xonotic servers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages