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 will kill tinc-down script when stop service. #145

Closed
nomadalex opened this issue May 16, 2017 · 0 comments
Closed

Systemd will kill tinc-down script when stop service. #145

nomadalex opened this issue May 16, 2017 · 0 comments

Comments

@nomadalex
Copy link

Hello, I found the tinc-down not called when I stop service, so I investigate the problem, and found that KillMode is default to control-group, this option will send TERM signal to all process in same group, include tinc-down script.

Add "KillMode=process" will fix this problem.

gsliepen added a commit that referenced this issue May 28, 2017
This ensures only the main process is sent the SIGTERM, and not anything
else that might have started in the same control group, including the
tinc-down script.

Closes #145 on GitHub.
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