[MacPorts] #54193: squid3+launchd causes multiple runaway processes when run in daemon mode
MacPorts
noreply at macports.org
Tue Jul 11 13:01:56 UTC 2017
#54193: squid3+launchd causes multiple runaway processes when run in daemon mode
------------------------+----------------------
Reporter: essandess | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords:
Port: squid3 |
------------------------+----------------------
Comment (by jmroot):
Could you try this and see if it helps?
{{{#!diff
diff --git a/net/squid3/Portfile b/net/squid3/Portfile
index a670aab57f..dd601a991a 100644
--- a/net/squid3/Portfile
+++ b/net/squid3/Portfile
@@ -85,7 +85,7 @@ post-configure {
startupitem.create yes
startupitem.name Squid
startupitem.netchange yes
-startupitem.pidfile auto ${pidfile}
+startupitem.pidfile clean ${pidfile}
startupitem.start \
"cd ${prefix}/var/squid" \
"if \[ ! -d \"${prefix}/var/squid/cache/00\" \]; then" \
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54193#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list