Simple Minecraft systemd startup script
Sometimes you just want to run a Minecraft server on your server, but you don't want to run it in a screen session, or you want to run it as a different user. This is where systemd comes in.
I'm Fernando,
a full-stack developer!
Sometimes you just want to run a Minecraft server on your server, but you don't want to run it in a screen session, or you want to run it as a different user. This is where systemd comes in.
One issue I encountered while using Arch Linux is that after some recent upgrade, the system would freeze if it went into sleep mode, which was quite annoying as it would result in the loss of all your work. With some detective work, I looked into the logs from the previous boot to see what was happening: