One of the more tedious tasks needed each time I re-install Linux is having to set up the minecraft server. It is easy enough to get the server working initially. But setting it up so that it survives a reboot requires interaction with systemd. One of the basic problems here is that since the script isn't being maintained by the software producer, it has to be updated for each Minecraft release and possibly for releases of some of the dependencies.
This article is a staging post for the commands I am using to configure Minecraft server on Ubuntu with the hope of eventually using it as a trial run for writing a package installer.
Yes, I use sudo bash. If I am interacting with a command line then it is almost invariably as system. In this case, the objective is to turn this session into a script.