> +However, the purpose of launchd is to notice processes that stop without its
> knowledge, and to restart them. So if you use apachectl -k restart, launchd
> may notice apache "crashing" and restart it itself, confusing apachectl.
> Instead, you may want to use launchctl to unload apache2, then load it again.
> This will result in a short interruption of service.
> +
> +This is done by using
> +
> +{{{
> +sudo launchctl unload -w /Library/LaunchDaemons/org.macports.apache2.plist
> +}}}
> +
> +to stop apache and then using
> +
> +{{{
> +sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist
> +}}}
> +
> +to start it again.
> +Would port load and port unload suffice?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
