DEV Community


Discussion on: How To Run A Modded Minecraft Server on AWS

hsimah profile image

So I added WorkDirectory=/minecraft and all my woes went away.

In summary:

  • no need for sudo in the ExecStart
  • ensure eula.txt is owned by ec2-user:ec2-user
  • add WorkingDirectory=/minecraft to minecraft.service

Seems to be working for me. Thanks for the prompt support Andrew - looking forward to playing Minecraft in the cloud.