On Thu, Oct 23, 2014 at 10:43 PM, William H. Magill <[email protected]> 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
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users