Use getcwd() instead of get_current_dir_name().
[oweals/tinc.git] / distro / tinc@.service
1 [Unit]
2 Description=Tinc net %i
3 PartOf=tinc.service
4 ReloadPropagatedFrom=tinc.service
5  
6 [Service]
7 Type=simple
8 WorkingDirectory=/etc/tinc/%i
9 ExecStart=/usr/sbin/tincd -n %i -D
10 ExecReload=/usr/sbin/tincd -n %i -kHUP
11 KillMode=mixed
12 TimeoutStopSec=5
13 Restart=always
14 RestartSec=60
15
16 [Install]
17 WantedBy=tinc.service