Revert "Remove tinc.service, it is not necessary."
[tinc] / systemd / tinc@.service
1 [Unit]
2 Description=Tinc net %i
3 Documentation=info:tinc
4 Documentation=man:tinc(8) man:tinc.conf(5)
5 Documentation=http://tinc-vpn.org/docs/
6 PartOf=tinc.service
7 ReloadPropagatedFrom=tinc.service
8
9 [Service]
10 Type=simple
11 WorkingDirectory=/etc/tinc/%i
12 ExecStart=/usr/sbin/tincd -n %i -D
13 ExecReload=/usr/sbin/tinc -n %i reload
14 Restart=on-failure
15 RestartSec=5
16 TimeoutStopSec=5
17
18 [Install]
19 WantedBy=tinc.service