summaryrefslogtreecommitdiff
path: root/misc/init.d/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'misc/init.d/tunnel')
-rwxr-xr-xmisc/init.d/tunnel13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/init.d/tunnel b/misc/init.d/tunnel
new file mode 100755
index 0000000..9cdd8c4
--- /dev/null
+++ b/misc/init.d/tunnel
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+: ${user:="tor"}
+
+name="tunnel"
+
+command="/home/david/tunnel.sh"
+command_background="true"
+pidfile="/run/tunnel.pid"
+
+depend() {
+ need sshd
+}