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

Stopping does not appear to be graceful #62

Closed
fryfrog opened this issue Jan 23, 2024 · 1 comment · Fixed by #98
Closed

Stopping does not appear to be graceful #62

fryfrog opened this issue Jan 23, 2024 · 1 comment · Fixed by #98
Labels
enhancement New feature or request

Comments

@fryfrog
Copy link
Contributor

fryfrog commented Jan 23, 2024

When I use docker stop palworld to stop the container, it doesn't seem to gracefully shutdown the server. Instead, it waits until the end of the timeout and just kills it. The default is 10 seconds, I've tried 30 and 60 and they all just go until the end and kill it.

In the container I've tried sending it 15 and 9 via kill, but they don't seem to be particularly graceful either.

There does appear to be an rcon / admin command /Shutdown {Seconds} {MessageText} (source, so maybe that could be incorporated somehow?

I'll do more research and see what I can figure out, but maybe someone has better ideas?

@fryfrog
Copy link
Contributor Author

fryfrog commented Jan 23, 2024

I am weird and use systemd service files to docker run, so I've settled on installing rcon-cli and setting ExecStop=/usr/bin/rcon -a 127.0.0.1:25575 -p mypassword "Shutdown 10" to get graceful shutdowns for now.

@thijsvanloef thijsvanloef added the enhancement New feature or request label Jan 23, 2024
@Dashboy1998 Dashboy1998 mentioned this issue Jan 25, 2024
3 tasks
@thijsvanloef thijsvanloef linked a pull request Jan 25, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants