summaryrefslogtreecommitdiff
path: root/contrib/torify.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/torify.in')
-rwxr-xr-xcontrib/torify.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/torify.in b/contrib/torify.in
new file mode 100755
index 0000000000..f9162a19fe
--- /dev/null
+++ b/contrib/torify.in
@@ -0,0 +1,7 @@
+#! /bin/sh
+# Wrapper script for use of the tsocks(8) transparent socksification library
+# See the tsocks(1) and torify(1) manpages.
+
+TSOCKS_CONF_FILE=@CONFDIR@/tor-tsocks.conf
+export TSOCKS_CONF_FILE
+exec tsocks "$@"