18 lines
326 B
SYSTEMD
18 lines
326 B
SYSTEMD
|
[Unit]
|
||
|
Description=Tinc net %i
|
||
|
PartOf=tinc.service
|
||
|
ReloadPropagatedFrom=tinc.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
WorkingDirectory=/etc/tinc/%i
|
||
|
ExecStart=/usr/sbin/tincd -n %i -D
|
||
|
ExecReload=/usr/sbin/tincd -n %i -kHUP
|
||
|
ExecStop=/usr/sbin/tincd -n %i -k
|
||
|
TimeoutStopSec=5
|
||
|
Restart=always
|
||
|
RestartSec=60
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=tinc.service
|