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

Consider changing systemd Restart=always? #22

Open
itsdalmo opened this issue May 10, 2019 · 0 comments
Open

Consider changing systemd Restart=always? #22

itsdalmo opened this issue May 10, 2019 · 0 comments

Comments

@itsdalmo
Copy link
Contributor

I'm not certain we want to use Restart=always for our worker processes. This means that the worker process will be restarted on SIGHUP, SIGINT, SIGTERM or SIGPIPE, which is probably not what we want.

Better alternatives might be on-failure or on-abnormal (like on-failure, but won't restart if the process exits with a non-zero exit code). More details here:
https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=

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

1 participant