You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2010/10/06 12:39:09 UTC
svn commit: r1004978 - /httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc
Author: fuankg
Date: Wed Oct 6 10:39:09 2010
New Revision: 1004978
URL: http://svn.apache.org/viewvc?rev=1004978&view=rev
Log:
Added NetWare auto restart script.
Modified:
httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc
Modified: httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc?rev=1004978&r1=1004977&r2=1004978&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc (original)
+++ httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc Wed Oct 6 10:39:09 2010
@@ -1,6 +1,6 @@
# Include for creating start/stop/restart NCF scripts.
-instscripts:: FORCE $(INSTALL)/$(BASEDIR)/ap2start.ncf $(INSTALL)/$(BASEDIR)/ap2rest.ncf $(INSTALL)/$(BASEDIR)/ap2stop.ncf $(INSTALL)/$(BASEDIR)/ap2prod.ncf
+instscripts:: FORCE $(INSTALL)/$(BASEDIR)/ap2start.ncf $(INSTALL)/$(BASEDIR)/ap2auto.ncf $(INSTALL)/$(BASEDIR)/ap2rest.ncf $(INSTALL)/$(BASEDIR)/ap2stop.ncf $(INSTALL)/$(BASEDIR)/ap2prod.ncf
$(INSTALL)/$(BASEDIR)/ap2start.ncf:
@echo # NCF to start Apache 2.x in own address space > $@
@@ -12,6 +12,17 @@ $(INSTALL)/$(BASEDIR)/ap2start.ncf:
@echo # load $(BASEDIR)/apache2 >> $@
@echo. >> $@
+$(INSTALL)/$(BASEDIR)/ap2auto.ncf:
+ @echo # NCF to start Apache 2.x in own address space > $@
+ @echo # and let automatically restart in case it crashes >> $@
+ @echo # Make sure that httpstk isn't listening on 80 >> $@
+ @echo # httpcloseport 80 /silent >> $@
+ @echo # search add SYS:/$(BASEDIR) >> $@
+ @echo restart address space = $(BASEDIR) SYS:/$(BASEDIR)/apache2 >> $@
+ @echo # If you have problems with 3rd-party modules try to load in OS space. >> $@
+ @echo # load $(BASEDIR)/apache2 >> $@
+ @echo. >> $@
+
$(INSTALL)/$(BASEDIR)/ap2rest.ncf:
@echo # NCF to restart Apache 2.x in own address space > $@
@echo apache2 restart -p $(BASEDIR) >> $@