[Kea-users] Kea Startup Script

Joelson Vendramin jtvendramin at yahoo.com.br
Thu Dec 6 16:07:03 UTC 2018


Hi Jordan,
> ... to get Kea to automatically start when a server reboots 
I simply put:/usr/local/sbin/keactrl start    and/usr/local/sbin/keactrl stop... inside /etc/rc.d/rc.local and /etc/rc.d/rc.local_shutdown, respectively.
I think this works regardless of *nix flavors.
> ... to get the Kea to automatically start if it crashes
I had never thought 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).

Regards,
--Joelson Vendramin

      De: Jordan Tinsley <jtinsley at lrecok.coop>
 Para: kea-users at lists.isc.org 
 Enviadas: Quinta-feira, 6 de Dezembro de 2018 12:05
 Assunto: [Kea-users] Kea Startup Script
   
<!--#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 {}-->Hello,  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?  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.  Thanks,Jordan_______________________________________________
Kea-users mailing list
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20181206/a64d7e0f/attachment.htm>


More information about the Kea-users mailing list