Ahtenus / minecraft-init

Init script for minecraft and bukkit servers
404 stars 125 forks source link

Failed to bind to port. #174

Closed Leopere closed 1 year ago

Leopere commented 9 years ago

Issues booting servers after unclean shutdowns cause issues with port binds remaining after processes have been cleared would someone be able to throw in a smart method for fuser -k -n tcp ${PORT} potentially? We could define the launch port in a new version of the config. This would be added to the bukkit runtime arguments. http://wiki.bukkit.org/CraftBukkit_Command_Line_Arguments

Since the port bind is created as root for this instance you cant clear ports unless you're a root user. This causes problems with allowing a multi tenant server to handle their own port bind issues.