]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kdc: Add restart option
authorCy Schubert <cy@FreeBSD.org>
Thu, 18 Apr 2024 18:56:54 +0000 (11:56 -0700)
committerCy Schubert <cy@FreeBSD.org>
Wed, 24 Apr 2024 05:50:38 +0000 (22:50 -0700)
commit9e248b7f645cdf05615a49cc15295df49b54d659
treedf48e155322ea885145358cf95b3c03e42f0cdf0
parentcae336280b0d7ad3d49788c5fc0986f91328eb50
kdc: Add restart option

Add a new kdc_restart rc variable that manages kdc (or krb5kdc) under
daemon(8). This automatically restarts the kdc should it fail, i.e.
when it's configured to use LDAP as a backend and cannot connect to its
LDAP directory.

Set kdc_restart="YES" to auto restart kdc on abnormal termination.

Set kdc_restart_delay="N" to the number of seconds to delay before
restarting the kdc. The daemon(8) default seconds applies when not set.

Reported by: Lexi Winter <lexi.freebsd@le-fay.org>
PR: 278395
Differential Revision: https://reviews.freebsd.org/D44898
libexec/rc/rc.conf
libexec/rc/rc.d/kdc