0001 <?xml version="1.0" ?>
0002 <endurox>
0003 <appconfig>
0004 <!-- ALL BELLOW ONES USES <sanity> periodical timer -->
0005 <!-- Sanity check time, sec -->
0006 <sanity>1</sanity>
0007 <!-- If process have been state changed to other than dead, exit or not running
0008 but PID of program does not exists in system, then send internel message, then
0009 program have been stopped.
0010 In Seconds.
0011 -->
0012 <checkpm>1</checkpm>
0013 <!-- <sanity> timer, end -->
0014 <!-- Do process reset after 1 sec -->
0015 <restart_min>1</restart_min>
0016 <!-- If restart fails, then boot after +5 sec of previous wait time -->
0017 <restart_step>10</restart_step>
0018 <!-- If still not started, then max boot time is a 30 sec. -->
0019 <restart_max>30</restart_max>
0020 <!-- <sanity> timer, end -->
0021
0022 <!-- Time after attach when program will start do sanity & respawn checks,
0023 starts counting after configuration load -->
0024 <restart_to_check>20</restart_to_check>
0025 </appconfig>
0026 <defaults>
0027 <min>1</min>
0028 <max>1</max>
0029 <autokill>1</autokill>
0030 <!-- Do not need respawning! -->
0031 <respawn>1</respawn>
0032 <!-- The maximum time while process can hang in 'starting' state i.e.
0033 have not completed initialization, sec -->
0034 <start_max>20</start_max>
0035 <!--
0036 Ping server in every X seconds (minimum step is <sanity>).
0037 -->
0038 <pingtime>9</pingtime>
0039 <!--
0040 Max time in seconds in which server must respond.
0041 The granularity is sanity time.
0042 -->
0043 <ping_max>40</ping_max>
0044 <!--
0045 Max time to wait until process should exit on shutdown
0046 -->
0047 <end_max>30</end_max>
0048 <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0049 to process until it have been terminated. -->
0050 <killtime>20</killtime>
0051 </defaults>
0052 <servers>
0053
0054 <server name="tmsrv">
0055 <max>1</max>
0056 <srvid>50</srvid>
0057 <sysopt>-e ${TESTDIR}/tmsrv-dom2.log -r -- -t1 -l${TESTDIR}/RM2</sysopt>
0058 </server>
0059
0060 <server name="tmqueue">
0061 <max>1</max>
0062 <srvid>100</srvid>
0063 <sysopt>-e ${TESTDIR}/tmqueue-dom2.log -r -- -q ./q.conf -s1 -T30</sysopt>
0064 </server>
0065
0066 <server name="tpbridge">
0067 <max>1</max>
0068 <srvid>101</srvid>
0069 <sysopt>-e ${TESTDIR}/bridge-dom2.log -r</sysopt>
0070 <appopt>-f -n1 -r -i 0.0.0.0 -p 20003 -tP -z30</appopt>
0071 </server>
0072
0073 </servers>
0074 </endurox>