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

systemd integration #76

Merged
merged 4 commits into from
May 13, 2016
Merged

systemd integration #76

merged 4 commits into from
May 13, 2016

Conversation

d5ve
Copy link
Contributor

@d5ve d5ve commented May 13, 2016

Re: #69

README changes explaining about systemd integration.
Plus Dockerfile change to install and use Yelp's dumb-init to avoid zombies.

I notice that there is a new version of dumb-init release since I started using it 12 days ago but I left the Dockerfile with v1.0.1, as that's the one I've been testing.

Cheers,

Dave

d5ve added 4 commits May 13, 2016 20:44
When systemd restarts the transmission-openvpn container, it seems to
leave zombie processes as below.

    $ ps uaxww | grep Z
    root      1872  0.0  0.0      0     0 ?        Z    08:58   0:00 [transmission-da] <defunct>

The zombies do appear to be cleaned up by restarting docker itself, or
by stopping the transmission-openvpn service.

This is an attempt to prevent zombies being spawned via Yelp's
dumb-init, which correctly handles the signals that PID1 gets.

See: https://github.com/Yelp/dumb-init
@haugene
Copy link
Owner

haugene commented May 13, 2016

Nice! Would you mind putting the section in the readme at the end? It's a more specific use case than running it on your NAS, so I feel it should be further down the file.

@haugene
Copy link
Owner

haugene commented May 13, 2016

Doesn't matter, I'm going to do some adjustments on the README now anyways. I'll move it.
Thanks for your contribution!

@haugene haugene merged commit 448a51b into haugene:dev May 13, 2016
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

Successfully merging this pull request may close these issues.

2 participants