From: Guus Sliepen Date: Sun, 28 May 2017 10:48:32 +0000 (+0200) Subject: Set KillMode=mixed in the systemd service file. X-Git-Tag: release-1.1pre15~13 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=93584bc1cad7c7cc9c95859a8cde548bc18b6fa8 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/systemd/tinc@.service b/systemd/tinc@.service index 78ef25b1..d1f711d4 100644 --- a/systemd/tinc@.service +++ b/systemd/tinc@.service @@ -11,6 +11,7 @@ Type=simple WorkingDirectory=/etc/tinc/%i ExecStart=/usr/sbin/tincd -n %i -D ExecReload=/usr/sbin/tinc -n %i reload +KillMode=mixed Restart=on-failure RestartSec=5 TimeoutStopSec=5