projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add optional systemd integration
[tinc]
/
systemd
/
tinc@.service.in
diff --git
a/systemd/tinc@.service.in
b/systemd/tinc@.service.in
index
2d695ca
..
95e8692
100644
(file)
--- a/
systemd/tinc@.service.in
+++ b/
systemd/tinc@.service.in
@@
-7,7
+7,7
@@
PartOf=tinc.service
ReloadPropagatedFrom=tinc.service
[Service]
ReloadPropagatedFrom=tinc.service
[Service]
-Type=
simple
+Type=
notify
WorkingDirectory=@sysconfdir@/tinc/%i
ExecStart=@sbindir@/tincd -n %i -D
ExecReload=@sbindir@/tinc -n %i reload
WorkingDirectory=@sysconfdir@/tinc/%i
ExecStart=@sbindir@/tincd -n %i -D
ExecReload=@sbindir@/tinc -n %i reload
@@
-15,6
+15,7
@@
KillMode=mixed
Restart=on-failure
RestartSec=5
TimeoutStopSec=5
Restart=on-failure
RestartSec=5
TimeoutStopSec=5
+WatchdogSec=10
[Install]
WantedBy=tinc.service
[Install]
WantedBy=tinc.service