tinc/systemd/tinc@.service.in

21 lines
424 B
SYSTEMD
Raw Normal View History

2019-08-26 11:44:52 +00:00
[Unit]
Description=Tinc net %i
Documentation=info:tinc
Documentation=man:tinc(8) man:tinc.conf(5)
Documentation=http://tinc-vpn.org/docs/
PartOf=tinc.service
ReloadPropagatedFrom=tinc.service
[Service]
Type=simple
2019-08-26 11:44:53 +00:00
WorkingDirectory=@sysconfdir@/tinc/%i
ExecStart=@sbindir@/tincd -n %i -D
ExecReload=@sbindir@/tinc -n %i reload
2019-08-26 11:44:52 +00:00
KillMode=mixed
2019-08-26 11:44:52 +00:00
Restart=on-failure
RestartSec=5
TimeoutStopSec=5
[Install]
WantedBy=tinc.service