Skip to content

Instantly share code, notes, and snippets.

@rubenwardy
Created December 28, 2017 20:58
Show Gist options
  • Save rubenwardy/59ea4e422f70b4b7a220c759d29fc8b2 to your computer and use it in GitHub Desktop.
Save rubenwardy/59ea4e422f70b4b7a220c759d29fc8b2 to your computer and use it in GitHub Desktop.
[Unit]
Description=Minetest Server
After=syslog.target network.target
[Service]
Type=simple
Restart=on-failure
User=minetest
Group=minetest
WorkingDirectory=/home/minetest/.minetest/
ExecStart=/home/minetest/.minetest/runserver.sh
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment