13 lines
331 B
Text
13 lines
331 B
Text
|
--- a/systemd/tinc@.service.in
|
||
|
+++ b/systemd/tinc@.service.in
|
||
|
@@ -9,7 +9,8 @@
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
WorkingDirectory=@sysconfdir@/tinc/%i
|
||
|
-ExecStart=@sbindir@/tincd -n %i -D
|
||
|
+EnvironmentFile=/etc/default/tinc
|
||
|
+ExecStart=@sbindir@/tincd -n %i -D $EXTRA
|
||
|
ExecReload=@sbindir@/tincd -n %i -kHUP
|
||
|
KillMode=mixed
|
||
|
Restart=on-failure
|