Commit 864e5fb6 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

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
parent d48345f3
Loading
Loading
Loading
Loading
+12 −1
Changes for build/NWGNUscripts.inc: 12 added lines, 1 removed line.
Original line number Diff line number Diff line
# 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) >> $@