Hello everyone, I'm running a forge 1.19 41.1.0 server for my friends on my VPS. In order to start it I use a .sh script with the following command line:
#!/usr/bin/env sh
# Forge requires a configured set of both JVM and program arguments.
# Add custom JVM arguments to the user_jvm_args.txt
# Add custom program arguments {such as nogui} to this file in the next line before the "$@" or
# pass them to this script directly
java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19-41.1.0/unix_args.txt "$@"
user_jvm_args.txt:
# Xmx and Xms set the maximum and minimum RAM usage, respectively.
# They can take any number, followed by an M or a G.
# M means Megabyte, G means Gigabyte.
# For example, to set the maximum to 3GB: -Xmx3G
# To set the minimum to 2.5GB: -Xms2500M
# A good default for a modded server is 4GB.
# Uncomment the next line to set it.
-Xmx5G
I obviously run this on a screen (Ubuntu 20.4) so that it keeps running when I leave the server SSH connection, except that no, it does not keep running when I quit the SSH connection. I've already tried recreating the screen, leaving the screen before quitting SSH session (leaving the screen is just fine, the problem shows when I quit the whole session) and reinstalled screen. Any help? Any information that I missed and could help you help me? Thank you everyone!
logs/debug.log: https://samuele.site/rdr/debug.txt
logs/latest.log: https://samuele.site/rdr/latest.txt