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

Graceful shutdown for runit services #43

Open
lukasluecke opened this issue Oct 27, 2020 · 1 comment
Open

Graceful shutdown for runit services #43

lukasluecke opened this issue Oct 27, 2020 · 1 comment

Comments

@lukasluecke
Copy link

lukasluecke commented Oct 27, 2020

See https://github.com/peterbourgon/runsvinit for example solution.

Maybe it's enough to just modify our SIGTERM trap to send INT to runit, then users can implement the ctrlaltdel service to handle shutdown themselves? (see http://smarden.org/runit1/runit.8.html#sect6)

@lukasluecke
Copy link
Author

@s4mpl3d any ideas?

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