From: Guenter Knauf Date: Wed, 6 Oct 2010 10:39:09 +0000 (+0000) Subject: Added NetWare auto restart script. X-Git-Tag: 2.2.17~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d413a789b94347000daefca44b55aaf540f49e1;p=thirdparty%2Fapache%2Fhttpd.git Added NetWare auto restart script. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1004978 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/NWGNUscripts.inc b/build/NWGNUscripts.inc index 1149076a86d..9b04d19ce63 100644 --- a/build/NWGNUscripts.inc +++ b/build/NWGNUscripts.inc @@ -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) >> $@