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