projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c0337
)
Set KillMode=mixed in the systemd service file.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 28 May 2017 10:42:25 +0000
(12:42 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 28 May 2017 10:42:25 +0000
(12:42 +0200)
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.
distro/tinc@.service
patch
|
blob
|
history
diff --git
a/distro/tinc@.service
b/distro/tinc@.service
index
c823fa5
..
5869442
100644
(file)
--- 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