Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

papermc: command not found #1

Open
CrashWriter opened this issue Mar 4, 2024 · 2 comments
Open

papermc: command not found #1

CrashWriter opened this issue Mar 4, 2024 · 2 comments

Comments

@CrashWriter
Copy link

status.sh: line 4: papermc: command not found

can you explain me that

@hmlendea
Copy link
Owner

hmlendea commented Mar 11, 2024

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.

@hmlendea
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants