aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-jetty
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2008-06-10 11:58:02 +0000
committerBrett Porter <brett@apache.org>2008-06-10 11:58:02 +0000
commit895a09df7f5b2840817b889ece9a13a9e8c6ff9c (patch)
tree806ef7f8c392df3b0db491ee2252ec34ef8349c2 /archiva-jetty
parentf0299c2f3d45c7737bdc925e2e663970c5e6f634 (diff)
downloadarchiva-895a09df7f5b2840817b889ece9a13a9e8c6ff9c.tar.gz
archiva-895a09df7f5b2840817b889ece9a13a9e8c6ff9c.zip
[MRM-760] set JSW to auto-restart if it crashes or hangs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666080 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-jetty')
-rw-r--r--archiva-jetty/pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml
index 4c27e7992..b73cc4d2b 100644
--- a/archiva-jetty/pom.xml
+++ b/archiva-jetty/pom.xml
@@ -186,6 +186,18 @@
<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>