[MacPorts] #54194: nginx+launchd doesn't open port without -g
MacPorts
noreply at macports.org
Sat May 20 11:18:37 UTC 2017
#54194: nginx+launchd doesn't open port without -g
------------------------+-------------------------
Reporter: essandess | Owner: Schamschula
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: nginx |
------------------------+-------------------------
Comment (by thetyrantcbass):
After updating to nginx 1.13 the port no longer loads at all via launchd.
Instead nginx just writes an error message every 30 seconds:
{{{
2017/05/20 06:05:18 [emerg] 213#0: unexpected end of parameter, expecting
";" in command line
}}}
And so on. The quotation or apostrophe marks are apparently required for
the command to be properly executed:
{{{
sh-3.2# nginx -t -g daemon off;
nginx: invalid option: "off"
sh-3.2# nginx -t -g "daemon off;"
nginx: the configuration file /opt/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /opt/local/etc/nginx/nginx.conf test is
successful
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54194#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list