Last active
May 20, 2019 21:55
-
-
Save lachlandcp/dbc2150b4d36ace429a432b9b6e2eebe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=start and stop the minecraft-server | |
[Service] | |
WorkingDirectory=/sharedfolders/SSDSpare/Minecraft | |
User=minecraft | |
Group=minecraft | |
Restart=always | |
RestartSec=15 | |
ExecStart=/usr/bin/java -Xms512M -Xmx2500M -jar spigot_server.jar nogui | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment