]> granicus.if.org Git - apache/commitdiff
Added another useful NetWare start script.
authorGuenter Knauf <fuankg@apache.org>
Sun, 2 Jan 2011 14:10:07 +0000 (14:10 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sun, 2 Jan 2011 14:10:07 +0000 (14:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1054410 13f79535-47bb-0310-9956-ffa450edef68

build/NWGNUscripts.inc

index 6fb57c5b1534ae6d9c5901b7bb4debf0e33e8c42..01809624c3be35a4fc4bae51f4bfb5ddeab5f4b0 100644 (file)
@@ -1,6 +1,6 @@
 # Include for creating start/stop/restart NCF scripts.\r
 \r
-instscripts:: FORCE $(INSTALL)/$(BASEDIR)/ap2start.ncf $(INSTALL)/$(BASEDIR)/ap2rest.ncf $(INSTALL)/$(BASEDIR)/ap2stop.ncf\r
+instscripts:: FORCE $(INSTALL)/$(BASEDIR)/ap2start.ncf $(INSTALL)/$(BASEDIR)/ap2auto.ncf $(INSTALL)/$(BASEDIR)/ap2rest.ncf $(INSTALL)/$(BASEDIR)/ap2stop.ncf\r
 \r
 $(INSTALL)/$(BASEDIR)/ap2start.ncf:\r
        @echo # NCF to start Apache 2.x in own address space > $@\r
@@ -12,6 +12,15 @@ $(INSTALL)/$(BASEDIR)/ap2start.ncf:
        @echo # load SYS:/$(BASEDIR)/apache2 >> $@\r
        @echo. >> $@\r
 \r
+$(INSTALL)/$(BASEDIR)/ap2auto.ncf:\r
+       @echo # NCF to start Apache 2.x in own address space > $@\r
+       @echo # and let automatically restart in case it crashes >> $@\r
+       @echo # Make sure that httpstk isn't listening on 80 >> $@\r
+       @echo # httpcloseport 80 /silent >> $@\r
+       @echo # search add SYS:/$(BASEDIR) >> $@\r
+       @echo restart address space = $(BASEDIR) SYS:/$(BASEDIR)/apache2 >> $@\r
+       @echo. >> $@\r
+\r
 $(INSTALL)/$(BASEDIR)/ap2rest.ncf:\r
        @echo # NCF to restart Apache 2.x in own address space > $@\r
        @echo apache2 restart -p $(BASEDIR) >> $@\r