diff options
Diffstat (limited to 'tor/rc.tor.new')
-rwxr-xr-x | tor/rc.tor.new | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tor/rc.tor.new b/tor/rc.tor.new deleted file mode 100755 index f90b6d3e..00000000 --- a/tor/rc.tor.new +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# -# init script for tor -# - -PID="/var/run" -PRIVOXY_PID="$PID/privoxy.pid" -TOR_PID="$PID/tor.pid" -USER="privoxy" - -if [ -f $TOR_PID ]; then - if ps `cat $TOR_PID` | grep -q tor; then - kill `cat $TOR_PID` - fi - rm $TOR_PID -fi - -sudo -u $USER /usr/bin/tor &> /dev/null & -echo "$!" > $TOR_PID - |