1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

Added another useful NetWare start script.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1054410 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Guenter Knauf
2011-01-02 14:10:07 +00:00
parent 8753d7e167
commit 47bd8fc4f6

View File

@@ -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
instscripts:: FORCE $(INSTALL)/$(BASEDIR)/ap2start.ncf $(INSTALL)/$(BASEDIR)/ap2auto.ncf $(INSTALL)/$(BASEDIR)/ap2rest.ncf $(INSTALL)/$(BASEDIR)/ap2stop.ncf
$(INSTALL)/$(BASEDIR)/ap2start.ncf:
@echo # NCF to start Apache 2.x in own address space > $@
@@ -12,6 +12,15 @@ $(INSTALL)/$(BASEDIR)/ap2start.ncf:
@echo # load SYS:/$(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. >> $@
$(INSTALL)/$(BASEDIR)/ap2rest.ncf:
@echo # NCF to restart Apache 2.x in own address space > $@
@echo apache2 restart -p $(BASEDIR) >> $@