<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 10:43 PM, William H. Magill <span dir="ltr"><<a href="mailto:magill@mac.com" target="_blank">magill@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":1x3" class="" style="overflow:hidden">They should be something like:<br>
<br>
sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop<br>
sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start<br>
sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart<br></div></blockquote></div><br>I do not see this; the Portfile says it uses apachectl directly, not a wrapper.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"> startupitem.create yes</div><div class="gmail_extra"> startupitem.start \</div><div class="gmail_extra"> "\[ -x ${prefix}/${name}/bin/apachectl \] && ${prefix}/${name}/bin/apachectl start > /dev/null"</div><div class="gmail_extra"> startupitem.stop \</div><div class="gmail_extra"> "\[ -r ${prefix}/${name}/logs/httpd.pid \] && ${prefix}/${name}/bin/apachectl stop > /dev/null"</div><div class="gmail_extra"> startupitem.restart \</div><div class="gmail_extra"> "${prefix}/${name}/bin/apachectl restart > /dev/null"</div><div class="gmail_extra"><br></div>(There may well be a wrapper because most of these things are controlled by daemondo to satisfy the requirements of launchd-initiated processes; this is a wrapper around the command, though, not a wrapper script.)<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>