aboutsummaryrefslogtreecommitdiff
path: root/tor/run
diff options
context:
space:
mode:
Diffstat (limited to 'tor/run')
-rw-r--r--tor/run4
1 files changed, 4 insertions, 0 deletions
diff --git a/tor/run b/tor/run
new file mode 100644
index 00000000..3b6f9953
--- /dev/null
+++ b/tor/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+ulimit -n ${MAX_OPEN_FILES:-65536}
+exec tor ${OPTS:=--quiet} --runasdaemon 0 2>&1