At 10:43 PM -0400 10/23/14, William H. Magill wrote:
> On Oct 23, 2014, at 9:55 PM, Brandon Allbery <[email protected]> wrote:
On Thu, Oct 23, 2014 at 9:52 PM, William H. Magill <[email protected]> wrote:
Finding /opt/local/apache2/bin/apachectl was "obvious." But not
from any pllist file.
Looking at that file and comparing it with Apple's they are
significantly different.
I.e. /opt/local/apache2/bin/apachectl contains no reference to a
plist file, OR the use of launchctl. It looks like a non-Apple
oriented, plain Unix start file.
Other way around: the MacPorts launchd plist uses apachectl to
actually start the web server, as indicated by the apache2
Portfile. apachectl itself does not reference launchd, it is
referenced *by* launchd via the plist.
That is the set of instructions I was looking for... I know I've
seen them someplace, but cannot find them anywhere!
I don't see them in the Portfile for apache2. Maybe they have just
gotten lost in an upgrade.
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
It's not the most obvious thing in the world.
Perhaps you want the "A" portion of MAMP:
https://trac.macports.org/wiki/howto/MAMP
Craig
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users