[26538] trunk/dports/www/apache2/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 27 17:43:40 PDT 2007
Revision: 26538
http://trac.macosforge.org/projects/macports/changeset/26538
Author: jberry at macports.org
Date: 2007-06-27 17:43:39 -0700 (Wed, 27 Jun 2007)
Log Message:
-----------
Don't look for the pid file when trying to restart apache, since we want it to start even if it's not currently running.
This should resolve cases where apache has quit because it couldn't find an IP address.
Better yet would be to use the more advance pid file startup item options so that daemondo can actually
track the process and _know_ when it dies.
Modified Paths:
--------------
trunk/dports/www/apache2/Portfile
Modified: trunk/dports/www/apache2/Portfile
===================================================================
--- trunk/dports/www/apache2/Portfile 2007-06-28 00:06:52 UTC (rev 26537)
+++ trunk/dports/www/apache2/Portfile 2007-06-28 00:43:39 UTC (rev 26538)
@@ -115,4 +115,4 @@
startupitem.stop \
"\[ -r ${prefix}/apache2/logs/httpd.pid \] && ${prefix}/apache2/bin/apachectl stop > /dev/null"
startupitem.restart \
-"\[ -r ${prefix}/apache2/logs/httpd.pid \] && ${prefix}/apache2/bin/apachectl restart > /dev/null"
+"${prefix}/apache2/bin/apachectl restart > /dev/null"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070627/067bd3d5/attachment.html
More information about the macports-changes
mailing list