Minecraft wiki entry for Server_startup_script, associated text: Minecraft Systemd Service A nice systemd service that features:
safe shutdown using rcon
protection of the system by making most of the system readonly
uses systemd journal to log
can be combined with a nice commandcenter script
is fully integrated in the systemd-toolchain