]> source.dussan.org Git - archiva.git/commitdiff
[MRM-760] set JSW to auto-restart if it crashes or hangs
authorBrett Porter <brett@apache.org>
Tue, 10 Jun 2008 11:58:02 +0000 (11:58 +0000)
committerBrett Porter <brett@apache.org>
Tue, 10 Jun 2008 11:58:02 +0000 (11:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666080 13f79535-47bb-0310-9956-ffa450edef68

archiva-jetty/pom.xml

index 4c27e7992e2fb936780e2e466178d897b73834df..b73cc4d2b11714317daecdd346ea1dc7013693ea 100644 (file)
                       <name>app.base.envvar</name>
                       <value>ARCHIVA_BASE</value>
                     </property>
+                    <property>
+                      <name>wrapper.on_exit.default</name>
+                      <value>RESTART</value>
+                    </property>
+                    <property>
+                      <name>wrapper.on_exit.0</name>
+                      <value>SHUTDOWN</value>
+                    </property>
+                    <property>
+                      <name>wrapper.restart.delay</name>
+                      <value>30</value>
+                    </property>
                   </configuration>
                 </generatorConfiguration>
               </generatorConfigurations>