reboot failure due to update-rc.d not loading correctly
reboot failure due to update-rc.d not loading correctly
She’s trying to join Minecraft with her friends again, so I offered to host a server on one of my virtual machines. The problem is that the VM won’t boot properly. I followed the instructions from the provided guide—after updating with update-rc.d minecraft defaults, I could see the service listed and start it, but it vanishes when I restart. After rebooting, the status shows it’s not found or inactive. I’ve tried running the command again, but it still disappears. Using update-rc.d minecraft enable didn’t help either. I’m unsure why the commands fail after a reboot, especially since the script is in init.d. It seems like this might be a rare issue, or maybe my research isn’t working well. I’ve recently set up a new server on Linux (ESXi 6.5 with Debian 8) and am quite familiar with it.
it resembles an openrc start script you're developing for a system using systemd, but it may not function as intended. Consider adopting a distro that supports openrc like Gentoo or Debian 7, or adjust the script to work within systemd environments.
That statement appeared to function initially, but now an issue has emerged. During the Minecraft server startup, it fails to locate the eula=true within the eula.txt file located in the same directory as the server's Java file. The reason remains unclear to me.
When using services, do they require special access rights for directories? You attempted to remove eula.txt and let the server create a fresh one, but when starting the service with the default command, no new file appeared. Running the standard startup script for the server (java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui) produced the expected result.