[Kea-users] Kea Startup Script
Pietsch Michael
Pietsch at dsm.museum
Thu Dec 6 16:07:57 UTC 2018
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 <kea-users-bounces at lists.isc.org> Im Auftrag von Jordan Tinsley
Gesendet: Donnerstag, 6. Dezember 2018 15:19
An: 'Tim St. Pierre' <tim at communicatefreely.ca>
Cc: kea-users at lists.isc.org
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 <tim at communicatefreely.ca>
Sent: Thursday, December 6, 2018 8:17 AM
To: jtinsley at lrecok.coop
Cc: kea-users at lists.isc.org
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 <jtinsley at lrecok.coop <mailto:jtinsley at lrecok.coop> > 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
Kea-users at lists.isc.org <mailto: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/e64b1226/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7723 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20181206/e64b1226/attachment.bin>
More information about the Kea-users
mailing list