Opened 16 years ago

Last modified 3 years ago

#19463 assigned defect

privoxy: uses wrong startup plist

Reported by: cilly@… Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: fracai, mascguy (Christopher Nielsen), cooljeanius (Eric Gallager)
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 (1)

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

Download all attachments as: .zip

Change History (9)

comment:1 Changed 16 years ago by nerdling (Jeremy Lavergne)

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

comment:2 Changed 16 years ago by nerdling (Jeremy Lavergne)

Port: privoxy added

comment:3 Changed 16 years ago by fracai

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 16 years ago by cilly@…

Attachment: org.privoxy.privoxy.plist added

comment:4 Changed 15 years ago by fracai

Cc: arno+macports@… added

Cc Me!

comment:5 Changed 14 years ago by jmroot (Joshua Root)

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?

comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from macports-tickets@… to essandess
Status: newassigned

Steve, hopefully this is no longer an issue. But assigning to you, to review/confirm.

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:8 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.