summarylogtreecommitdiffstats
path: root/tinc.service
diff options
context:
space:
mode:
Diffstat (limited to 'tinc.service')
-rw-r--r--tinc.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/tinc.service b/tinc.service
new file mode 100644
index 00000000000..d911fa78484
--- /dev/null
+++ b/tinc.service
@@ -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=/etc/tinc
+
+[Install]
+WantedBy=multi-user.target