Re: [squid-users] Start squid using launchd on Mac OS X

From: Steve Hoelzer <shoelzer@dont-contact.us>
Date: Thu, 21 Jul 2005 13:38:24 -0500

I figured out the problem. Here's a new plist that works correctly:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple$
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.startsquid</string>
        <key>Program</key>
        <string>/sw/sbin/squid</string>
        <key>ProgramArguments</key>
        <array>
                <string>squid</string>
                <string>-N</string>
        </array>
        <key>OnDemand</key>
        <false/>
</dict>
</plist>

The only difference is that I added the 'Program' key with the path to
the squid binary. (Fink <http://fink.sourceforge.net/> installs
software in /sw.)

Now squid starts when I log in and restarts automatically if it dies
or gets killed.

Steve Hoelzer
Received on Sat Jul 23 2005 - 13:56:04 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT