New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19463 (new defect)

Opened 4 years ago

Last modified 3 years ago

privoxy: uses wrong startup plist

Reported by: cilly@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: arno+macports@…
Port: privoxy

Description

privoxy should be started this way:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-AppleDTD PLIST 1.0EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>

<key>Label</key>
<string>org.privoxy.privoxy</string>
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>/usr/local/sbin/privoxy</string>
<key>ProgramArguments</key>
<array>

<string>privoxy</string>
<string>--no-daemon</string>
<string>--pidfile</string>
<string>/var/run/privoxy/privoxy.pid</string>
<string>/usr/local/etc/privoxy/config</string>

</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>privoxy</string>

</dict>
</plist>

To let privoxy log into /var/run create a folder privoxy as following:

drwxrwxr-x 3 root privoxy 102 Apr 28 15:52 /var/run/privoxy

Attachments

org.privoxy.privoxy.plist (605 bytes) - added by cilly@… 4 years ago.

Change History

comment:1 Changed 4 years ago by snc@…

Those paths should have @PREFIX@ in them so the portfile can reinplace the correct location for a given macports install.

comment:2 Changed 4 years ago by snc@…

  • Port set to privoxy

comment:3 Changed 4 years ago by arno+macports@…

The use of Program and ProgramArguments is redundant. "Program [should be used] if and only if you aren't passing any arguments." from http://launchd.macosforge.org/trac/wiki

Changed 4 years ago by cilly@…

comment:4 Changed 4 years ago by arno+macports@…

  • Cc arno+macports@… added

Cc Me!

comment:5 Changed 3 years ago by jmr@…

Attaching a plist isn't really helpful since we don't write them directly, they're generated by the startupitem code. How about an equivalent patch for the portfile?

Note: See TracTickets for help on using tickets.