controlling Macports version of Apache2
Brandon Allbery
allbery.b at gmail.com
Thu Oct 23 19:49:00 PDT 2014
On Thu, Oct 23, 2014 at 10:43 PM, William H. Magill <magill at mac.com> wrote:
> They should be something like:
>
> sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop
> sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper
> start
> sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper
> restart
>
I do not see this; the Portfile says it uses apachectl directly, not a
wrapper.
startupitem.create yes
startupitem.start \
"\[ -x ${prefix}/${name}/bin/apachectl \] &&
${prefix}/${name}/bin/apachectl start > /dev/null"
startupitem.stop \
"\[ -r ${prefix}/${name}/logs/httpd.pid \] &&
${prefix}/${name}/bin/apachectl stop > /dev/null"
startupitem.restart \
"${prefix}/${name}/bin/apachectl restart > /dev/null"
(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.)
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20141023/07663647/attachment.html>
More information about the macports-users
mailing list