summarylogtreecommitdiffstats
path: root/tinc@.service
diff options
context:
space:
mode:
Diffstat (limited to 'tinc@.service')
-rw-r--r--tinc@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/tinc@.service b/tinc@.service
new file mode 100644
index 000000000000..9be81b41dad3
--- /dev/null
+++ b/tinc@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=tinc vpn on network %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/tincd --user=nobody --net=%i
+ExecReload=/usr/bin/tinc --net %I reload
+Restart=on-abnormal
+
+[Install]
+WantedBy=multi-user.target