<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1544091968092_69000"><span>Hi Jordan,</span></div><div id="yui_3_16_0_ym19_1_1544091968092_69006"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69560"><span id="yui_3_16_0_ym19_1_1544091968092_69541">> ... </span><span id="yui_3_16_0_ym19_1_1544091968092_69573">to get Kea to automatically start when a server reboots </span></div><div id="yui_3_16_0_ym19_1_1544091968092_69559"><span><br></span></div><div id="yui_3_16_0_ym19_1_1544091968092_69007"><span id="yui_3_16_0_ym19_1_1544091968092_69044">I simply put:</span></div><div id="yui_3_16_0_ym19_1_1544091968092_69041" dir="ltr"><span id="yui_3_16_0_ym19_1_1544091968092_69074">/usr/local/sbin/keactrl start</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69057"><span id="yui_3_16_0_ym19_1_1544091968092_69731">    and</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69058"><span id="yui_3_16_0_ym19_1_1544091968092_69084">/usr/local/sbin/keactrl stop</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69090"><span id="yui_3_16_0_ym19_1_1544091968092_69084">... inside /etc/rc.d/rc.local and /etc/rc.d/rc.local_shutdown, respectively.</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69362"><span id="yui_3_16_0_ym19_1_1544091968092_69084"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69376"><span id="yui_3_16_0_ym19_1_1544091968092_69084">I think this works regardless of *nix flavors.</span></div><div id="yui_3_16_0_ym19_1_1544091968092_69005" dir="ltr"><div id="yui_3_16_0_ym19_1_1544091968092_69557"><br></div><div id="yui_3_16_0_ym19_1_1544091968092_69553" dir="ltr">> ... to get the Kea to automatically start if it crashes</div><div id="yui_3_16_0_ym19_1_1544091968092_69576"><br></div><pre data-placeholder="Tradução" style="text-align: left; min-height: 72px;" data-fulltext="" dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69743"><span id="yui_3_16_0_ym19_1_1544091968092_69744" lang="en">I had never thought </span>about that, but I'd try to build some bash script to monitor regularly (crontab) the output of 'ps' with some parameters that match kea process(es).<br><br>Regards,<br>--</pre></div><div class="signature" id="yui_3_16_0_ym19_1_1544091968092_69141"><div style="font-size:16px;" id="yui_3_16_0_ym19_1_1544091968092_69140"><div id="yui_3_16_0_ym19_1_1544091968092_69143">Joelson Vendramin</div></div></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1544091968092_69145"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1544091968092_69149" style="display: block;">  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1544091968092_69148"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1544091968092_69147"> <div dir="ltr" id="yui_3_16_0_ym19_1_1544091968092_69146"> <font id="yui_3_16_0_ym19_1_1544091968092_69555" size="2" face="Arial"> <hr id="yui_3_16_0_ym19_1_1544091968092_69578" size="1"> <b><span style="font-weight:bold;">De:</span></b> Jordan Tinsley <jtinsley@lrecok.coop><br> <b><span style="font-weight: bold;">Para:</span></b> kea-users@lists.isc.org <br> <b><span style="font-weight: bold;">Enviadas:</span></b> Quinta-feira, 6 de Dezembro de 2018 12:05<br> <b><span style="font-weight: bold;">Assunto:</span></b> [Kea-users] Kea Startup Script<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1544091968092_69422"><br><div id="yiv3206135513"><style><!--
#yiv3206135513  
 _filtered #yiv3206135513 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv3206135513 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv3206135513  
#yiv3206135513 p.yiv3206135513MsoNormal, #yiv3206135513 li.yiv3206135513MsoNormal, #yiv3206135513 div.yiv3206135513MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", sans-serif;}
#yiv3206135513 a:link, #yiv3206135513 span.yiv3206135513MsoHyperlink
        {color:#0563C1;text-decoration:underline;}
#yiv3206135513 a:visited, #yiv3206135513 span.yiv3206135513MsoHyperlinkFollowed
        {color:#954F72;text-decoration:underline;}
#yiv3206135513 span.yiv3206135513EmailStyle17
        {font-family:"Calibri", sans-serif;color:windowtext;}
#yiv3206135513 .yiv3206135513MsoChpDefault
        {font-family:"Calibri", sans-serif;}
 _filtered #yiv3206135513 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv3206135513 div.yiv3206135513WordSection1
        {}
--></style><div id="yui_3_16_0_ym19_1_1544091968092_69421"><div class="yiv3206135513WordSection1" id="yui_3_16_0_ym19_1_1544091968092_69420"><div class="yiv3206135513MsoNormal" id="yui_3_16_0_ym19_1_1544091968092_69419">Hello,</div><div class="yiv3206135513MsoNormal" id="yui_3_16_0_ym19_1_1544091968092_69514">  </div><div class="yiv3206135513MsoNormal" id="yui_3_16_0_ym19_1_1544091968092_69515">Is there any way to get Kea to automatically start when a server reboots and any way to get the Kea to automatically start if it crashes?</div><div class="yiv3206135513MsoNormal" id="yui_3_16_0_ym19_1_1544091968092_69519">  </div><div class="yiv3206135513MsoNormal" id="yui_3_16_0_ym19_1_1544091968092_69517">I was going to try to write a script for when a server reboots as well as another script for when Kea crashes, but wanted to get input from others.</div><div class="yiv3206135513MsoNormal" id="yui_3_16_0_ym19_1_1544091968092_69518">  </div><div class="yiv3206135513MsoNormal" id="yui_3_16_0_ym19_1_1544091968092_69424">Thanks,</div><div class="yiv3206135513MsoNormal">Jordan</div></div></div></div>_______________________________________________<br>Kea-users mailing list<br><a ymailto="mailto:Kea-users@lists.isc.org" href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/kea-users" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br><br><br></div> </div> </div>  </div></div></body></html>