diff options
author | Guenter Knauf <fuankg@apache.org> | 2011-01-02 14:10:07 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2011-01-02 14:10:07 +0000 |
commit | 47bd8fc4f67c2b943c4d5ceec94ad621630ef8bf (patch) | |
tree | 3f9f2cd61fd5fc8fa406ad895394c30d1f8ff851 | |
parent | 8753d7e167f95cc7a0a654316f55a1e5937cfadb (diff) | |
download | httpd-47bd8fc4f67c2b943c4d5ceec94ad621630ef8bf.tar.gz |
Added another useful NetWare start script.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1054410 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build/NWGNUscripts.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/build/NWGNUscripts.inc b/build/NWGNUscripts.inc index 6fb57c5b15..01809624c3 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
+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) >> $@
|