copy systemd file from fedora

This commit is contained in:
mh 2015-01-03 14:11:18 +01:00
parent b3980bd9a4
commit 42e2e54fee

View file

@ -1,10 +1,12 @@
[Unit]
Description=Tinc daemon for network %i
Description=Tinc VPN daemon for network %i
After=network.target
[Service]
ExecStart=/usr/sbin/tincd -D --pidfile /run/tinc.%i.pid -n %i
Type=forking
Restart=on-failure
ExecStart=/usr/sbin/tincd -n %i
ExecStop=/usr/sbin/tincd -n %i -k
[Install]
WantedBy=multi-user.target