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 exit call to kill command #202
Add exit call to kill command #202
Conversation
Do you have a link to the documentation that shows that exiting with exit code 0 will tell docker not to do a restart? |
nah - but we're set to "Always" which says that if it's manually shut down it won't attempt to restart. The "on-failure" config option says it considers an error to be a non-zero exit code so assumed 🤷 don't ask me shit like this as if I have any idea what I'm doing lmfao /lh fwiw: https://docs.docker.com/config/containers/start-containers-automatically/ |
Cheers, that's the correct link. Yh it's a shame the config options for restart policies aren't perfect. Using |
Although considering the likelihoods of TeX-Bot dieing Vs the hetzner server dieing I think one is much more likely than the other, so maybe changing the docker restart policy on all deployments to be |
…igure-kill-command-to-use-the-correct-exit-code-so-that-it-is-not-restarted-by-dockers-restart-policy
Merging this PR will require any deployments to have their docker restart policy set to |
…t-exit-code-so-that-it-is-not-restarted-by-dockers-restart-policy
…t-exit-code-so-that-it-is-not-restarted-by-dockers-restart-policy
No description provided.