summarylogtreecommitdiffstats
path: root/tinc@.service
diff options
context:
space:
mode:
authorMartin Weinelt2015-11-08 23:53:33 +0100
committerMartin Weinelt2015-11-08 23:53:33 +0100
commit81fa463778f4a852fd9518a2a4fd9833d496a849 (patch)
tree7eb630c1759d568b8307ae5faa4fb9c2c87ec9c6 /tinc@.service
parent04807fee00b8ac8993c6e6abefccba82b0111fe0 (diff)
downloadaur-81fa463778f4a852fd9518a2a4fd9833d496a849.tar.gz
Revert to pwn PKGBUILD, upstream one won't start on boot
still needs to be debugged
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