Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cat /etc/systemd/system/minetest@.service
[Unit]
Description=Minetest server
After=systemd-user-sessions.service
[Service]
User=minetest
Type=simple
Restart=always
WorkingDirectory=/home/minetest/worlds/%I
ExecStart=/usr/local/bin/minetestserver --world . --config server.conf
[Install]
WantedBy=multi-user.target
Alias=minetest@%i.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment