Skip to content

Instantly share code, notes, and snippets.

@ahkok
Created February 13, 2018 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahkok/9310c5a9d7c1ee9f01e1a9f889051de8 to your computer and use it in GitHub Desktop.
Save ahkok/9310c5a9d7c1ee9f01e1a9f889051de8 to your computer and use it in GitHub Desktop.
[Unit]
Description=Minetest server
After=systemd-user-sessions.service
[Service]
User=minetest
Type=simple
Restart=always
WorkingDirectory=/var/minetest/.minetest/worlds/insidethebox
ExecStart=/usr/bin/minetestserver --world . --config server.conf
[Install]
WantedBy=multi-user.target
Alias=minetest.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment