Startup script (OSX) broken

downie - downgeoff2 at hotmail.com
Thu Mar 4 17:31:06 UTC 2010


Hi,
 does anyone know why these changes to /Library/StartupItems/Tor/Tor
should break it?
Polipo is started, but Tor isn't : "sh /Library/StartupItems/Tor/Tor start" shows as a sleeping process.

StartService ()
{

    if [ -f $TORCMD ]; then
        if pid=$(GetPID Tor); then
            return 0
        else
        ConsoleMessage "Starting Tor Service"
# Tentative
# Start Polipo
/Applications/Vidalia.app/Contents/MacOS/polipo -c /Applications/Vidalia.app/Contents/Resources/polipo.conf
# Making sure it is not running (I know it is not a best approarch)
        killall tor 2>/dev/null
                /usr/bin/tor --user tor --hush -f /Users/tor/torrelay DataDirectory /Users/tor/tor  ControlPort 9051 HashedControlPassword 16:<xxx> CookieAuthentication 0 RunAsDaemon 1
    fi
    fi
}

I haven't changed the config file and I can still start Tor by su-ing to the tor user.

GD
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20100304/afaa866e/attachment.htm>


More information about the tor-talk mailing list