From: Guus Sliepen Date: Sun, 28 May 2017 10:42:25 +0000 (+0200) Subject: Set KillMode=mixed in the systemd service file. X-Git-Tag: release-1.0.32~5 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=d7a7797ef35e0fd81c975d41ccfd42a4d2a5ae38 Set KillMode=mixed in the systemd service file. 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. --- diff --git a/distro/tinc@.service b/distro/tinc@.service index c823fa5a..58694429 100644 --- a/distro/tinc@.service +++ b/distro/tinc@.service @@ -8,6 +8,7 @@ Type=simple WorkingDirectory=/etc/tinc/%i ExecStart=/usr/sbin/tincd -n %i -D ExecReload=/usr/sbin/tincd -n %i -kHUP +KillMode=mixed TimeoutStopSec=5 Restart=always RestartSec=60