X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=systemd%2Ftinc.service.in;fp=systemd%2Ftinc.service.in;h=b6710424fd1d2433bcbc3a4b1cfdcb69eeea3796;hp=0000000000000000000000000000000000000000;hb=5865fd2676b8c77ac8f71b3fd997593cafbd153f;hpb=a563e6dd8c88865351c05ebc72de86dac7a839d5 diff --git a/systemd/tinc.service.in b/systemd/tinc.service.in new file mode 100644 index 00000000..b6710424 --- /dev/null +++ b/systemd/tinc.service.in @@ -0,0 +1,20 @@ +# This is a mostly empty service, but allows commands like stop, start, reload +# to propagate to all tinc@ service instances. + +[Unit] +Description=Tinc VPN +Documentation=info:tinc +Documentation=man:tinc(8) man:tinc.conf(5) +Documentation=http://tinc-vpn.org/docs/ +After=network.target +Wants=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/bin/true +ExecReload=/bin/true +WorkingDirectory=@sysconfdir@/tinc + +[Install] +WantedBy=multi-user.target