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

Add healthcheck #17

Closed
alex4108 opened this issue Jan 21, 2024 · 0 comments · Fixed by #21
Closed

Add healthcheck #17

alex4108 opened this issue Jan 21, 2024 · 0 comments · Fixed by #21
Labels
enhancement New feature or request

Comments

@alex4108
Copy link

Is your feature request related to a problem? Please describe.
Adding some kind of command line or network health check to the container so that orchestration services can detect when the container is unhealthy.

Describe the solution you'd like
Include a shell script to check status of the container, eg a new script in scripts/healthcheck.sh like:

output=$(ps aux | grep palworld)
if [[ /* output says palworld is running */]]; then
  exit 0
fi

exit 1

Describe alternatives you've considered
none!

Additional context

@alex4108 alex4108 changed the title Add healthchecks Add healthcheck Jan 21, 2024
@thijsvanloef thijsvanloef added the enhancement New feature or request label Jan 21, 2024
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