You can use systemd to start/stop the services and also automatically restart 
them if they crash. Systemd in most cases is available for recent linux systems 
(Debian/Ubuntu/RedHat..).

 

Here is an example for multiple kea instances on a single server: 
https://gist.github.com/Skywalker-11/4911124c99a39572ade4065743bd3a54 

If you only use one instance of each kea service you can use: 
https://gist.github.com/Skywalker-11/29ab856ed3c88f0eadc6e833f32fa78a 

 

With best regards

 

Michael Pietsch 

 

Von: Kea-users <[email protected]> Im Auftrag von Jordan Tinsley
Gesendet: Donnerstag, 6. Dezember 2018 15:19
An: 'Tim St. Pierre' <[email protected]>
Cc: [email protected]
Betreff: Re: [Kea-users] Kea Startup Script

 

I am using Centos 7.  Speaking of which, did I overlook something…. Because the 
RPM I found is for the 1.0.0 version.  

 

From: Tim St. Pierre <[email protected]> 
Sent: Thursday, December 6, 2018 8:17 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Kea-users] Kea Startup Script

 

That depends on your operating system.  On FreeBSD, it includes the proper rc 
scripts to start and stop automatically.

 

We use Monit to alert and restart if the process dies.




Tim St. Pierre

Network Engineer

289-225-1220 x5101

 

 

On Thu, 6 Dec 2018 at 09:05, Jordan Tinsley <[email protected] 
<mailto:[email protected]> > wrote:

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
[email protected] <mailto:[email protected]> 
https://lists.isc.org/mailman/listinfo/kea-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to