Skip to content

Instantly share code, notes, and snippets.

@Calinou
Last active June 17, 2022 18:45
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Calinou/b958b8aac735046381e3a0c4ffc150a6 to your computer and use it in GitHub Desktop.
Save Calinou/b958b8aac735046381e3a0c4ffc150a6 to your computer and use it in GitHub Desktop.
Minetest server systemd service file, put in /etc/systemd/system/minetest.service
[Unit]
Description=Minetest
[Service]
Type=simple
User=hugo
Group=hugo
ExecStart=/usr/local/bin/minetestserver --gameid minetest_game --config /home/hugo/.minetest/configs/calinou.conf
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment