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

restart=on-abort when running as init-process #14

Open
gdraheim opened this issue Oct 2, 2017 · 0 comments
Open

restart=on-abort when running as init-process #14

gdraheim opened this issue Oct 2, 2017 · 0 comments
Milestone

Comments

@gdraheim
Copy link
Owner

gdraheim commented Oct 2, 2017

While systemctl.py will be dead in most circumstances, it is in fact a continuous process when it is the PID 1 in a docker container. At that place it may be useful to not only check for zombies regularly but also for dead process that a restart=on-abort rule in their service config. With the help of a pid file one can check for the condition regularly and run "start" again if it was found dead. That can help so people do not try to write watchdog wrappers for the services file which the systemd world has already mitigated.

@gdraheim gdraheim added this to the M1.1 milestone Oct 3, 2017
@gdraheim gdraheim modified the milestones: M1.2, M1.3 Apr 21, 2018
@gdraheim gdraheim modified the milestones: M1.3, M1.4 Jun 9, 2018
@gdraheim gdraheim modified the milestones: M1.4, M1.5 Aug 30, 2018
@gdraheim gdraheim modified the milestones: M1.4.3, M1.5 Dec 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant