[tor-commits] [ooni-probe/develop] Add oonid script to run ooni daemon

isis at torproject.org isis at torproject.org
Wed Jun 26 01:02:11 UTC 2013


commit 22c0c16f8eb9b7fa5680e8f23167ded4a7082835
Author: Arturo Filastò <art at fuffa.org>
Date:   Mon Jun 3 17:56:11 2013 +0200

    Add oonid script to run ooni daemon
---
 bin/oonid |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/bin/oonid b/bin/oonid
new file mode 100755
index 0000000..dd59eb9
--- /dev/null
+++ b/bin/oonid
@@ -0,0 +1,7 @@
+#!/bin/bash
+# XXX This is very Ghetto. The proper way to do this is to make a twisted
+# plugin. The plugin will then be installed and can then be run directly with
+# `twistd oonid`
+
+OONID_PATH=`python -c 'import ooni;import os;print os.path.join(os.path.dirname(os.path.abspath(ooni.__file__)), "oonid.py")'`
+twistd -y $OONID_PATH





More information about the tor-commits mailing list