Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Start the Squid web proxy as a service at start up' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Start the Squid web proxy as a service at start up
Authored by: lsloan on Jul 20, '04 12:11:52AM
I changed the StartupParameters.plist similarly, too:

{
  Description    = "Squid proxy service";
  Provides       = ("Squid");
  Requires       = ("Network", "Resolver");
  Uses           = ("Network");
  OrderPreferece = "none";
  Messages =
  {
    start = "Starting Squid proxy service";
    stop  = "Stopping Squid proxy service";
  };
}
I also changed Resources/English.lproj/Localizable.strings, though it may not have been necessary:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
        <key>Starting Squid proxy service</key>
        <string>Starting Squid proxy service</string>
</dict>
</plist>
And I changed the Squid script to start squid with the "-s" (syslog) option and without the "-f" (configuration filename) option. My changes are available at http://umich.edu/~lsloan/Squid.tar.gz.

---
--
Lance E Sloan

[ Reply to This | # ]