Autostarting Squid

Joshua Root jmr at macports.org
Thu May 1 13:46:41 PDT 2008


Ron Richardson wrote:
> I've installed the Squid port, and that saved me a ton of time over doing
> it manually.  However, I can't seem to get the thing to autostart on boot.
>  I put the plist in /Library/LaunchDaemons, but it's not working.

"/Library/LaunchDaemons/org.macports.Squid.plist" is installed as a 
symlink pointing to 
"${prefix}/etc/LaunchDaemons/org.macports.Squid/org.macports.Squid.plist". 
What do you mean exactly by "I put the plist in /Library/LaunchDaemons"?

All you should need to do after installation is run `sudo launchctl load 
-w /Library/LaunchDaemons/org.macports.Squid.plist`. Then squid should 
be launched immediately and thereafter at boot time.

> Apr 30 14:37:51 netman org.macports.Squid[151]: Password:su: Sorry
> 
> Can anybody tell me what's going on?

Looks like the squid wrapper script is being called as a non-root user. 
I'm not sure why that would be the case.

- Josh


More information about the macports-users mailing list