> On Oct 23, 2014, at 10:32 PM, Craig Treleaven <[email protected]> wrote:
> 
> At 9:52 PM -0400 10/23/14, William H. Magill wrote:
>> > On Oct 23, 2014, at 9:33 PM, Brandon Allbery <[email protected]> wrote:
>>> 
>>> On Thu, Oct 23, 2014 at 9:23 PM, William H. Magill <[email protected]> wrote:
>>> On Oct 23, 2014, at 8:34 PM, William H. Magill <[email protected]> wrote:
>> > > On Oct 23, 2014, at 7:09 PM, Brandon Allbery <[email protected]> wrote:
>> > Clearly Apachectl does not work. (/usr/sbin/apachectl)
>>> It expects to run /usr/sbin/httpd as its binary
>>> 
>>> I would have expected the apache2 ports to install 
>>> /opt/local/sbin/apachectl, possibly with a version appended. But looking at 
>>> the apache2 Portfile, it appears to actually be 
>>> /opt/local/apache2/bin/apachectl. (This path should have been visible in 
>>> the plist you found.)
>> 
>> Finding /opt/local/apache2/bin/apachectl was "obvious." But not from any 
>> pllist file.
> 
> The launchd plist's for system-wide services like Apache2 are in 
> '/Library/LaunchDaemons':
> 
> $ ls -l /Library/LaunchDaemons/org.macports.apache2.plist
> lrwxr-xr-x  1 root  admin  76  4 Jun 14:32 
> /Library/LaunchDaemons/org.macports.apache2.plist -> 
> /opt/local/etc/LaunchDaemons/org.macports.apache2/org.macports.apache2.plist
> 
> You can 'cat' the plist file to see what it is doing.  In this case, it calls 
> a wrapper script.

As i said -- that part of the documentation is missing!!!

At one time there were instructions in the port on how to start and stop the 
Apache server -- they are now missing.

The technique to be used is anything but obvious for anyone familiar with 
Apache.


T.T.F.N.
William H. Magill                                                            

[email protected]
[email protected]
[email protected]








_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to