Open CrashWriter opened 7 months ago
Currently, the check to see whether the server is running assumes that it was run using papermc
as in the papermc
package (e.g. for Arch Linux: https://aur.archlinux.org/packages/papermc)
Once it's installed, /etc/conf.d/papermc
should be updated with something like this:
SESSION_NAME="papermc"
# System parameters for java
# -Xms sets the intial heap size (must be a multiple of 1024 and greater than 2MB, no spaces!)
# -Xmx sets the maximum heap size (must be a multiple of 1024 and greater than 2MB, no spaces!)
SERVER_START_CMD="bash './${MAIN_EXECUTABLE}'"
And the server controlled by starting/restarting/stopping the papermc.service
systemd service.
In the future I'll look into trying to decouple from the papermc
package, so that it will work even if it's not installed.
status.sh: line 4: papermc: command not found
can you explain me that