Skip to content

Instantly share code, notes, and snippets.

@einarjh
einarjh / minecraft.service
Last active August 3, 2017 12:29
A very basic, but functional, minecraft service description for systemd.
[Unit]
Description=Minecraft Server
[Service]
# Adjust these to your liking, the service assumes that minecraft_server.jar and eula.txt already
# exists in this directory, and that the User specified has write access to the WorkingDirectory
#
# To send commands to minecraft, do:
# echo "command" >> minecraft-input