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

perl: Document PID 1 signal handling behavior #1550

Merged
merged 2 commits into from Aug 16, 2019

Conversation

@zakame
Copy link
Contributor

commented Aug 10, 2019

Describe how Perl behaves when being run as PID 1 under containers,
particularly on receiving SIGTERM/SIGINT, showing example for explicit
signal handling.

Ref Perl/docker-perl#44

Show resolved Hide resolved perl/content.md Outdated

@zakame zakame force-pushed the zakame:perl-pid-1-behavior branch from 5fdc26c to dc3cd78 Aug 15, 2019

Show resolved Hide resolved perl/content.md Outdated
perl: Document PID 1 signal handling behavior
Describe how Perl behaves when being run as PID 1 under containers,
particularly on receiving SIGTERM/SIGINT, showing example for explicit
signal handling.

Ref Perl/docker-perl#44

@zakame zakame force-pushed the zakame:perl-pid-1-behavior branch from dc3cd78 to 5061ec9 Aug 16, 2019

perl: Update signal handler example
Make clear that the signal handler does not kill the perl process on its
own, thanks @tianon for the suggestion!

@zakame zakame force-pushed the zakame:perl-pid-1-behavior branch from 5061ec9 to 087e411 Aug 16, 2019

@tianon tianon merged commit 9139646 into docker-library:master Aug 16, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@tianon

This comment has been minimized.

Copy link
Member

commented Aug 16, 2019

👍🤘

@zakame zakame deleted the zakame:perl-pid-1-behavior branch Aug 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.