freebsd-src/libexec/rc
Cy Schubert e750111ced 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

(cherry picked from commit 9e248b7f64)
2024-04-29 05:51:11 -07:00
..
rc.d kdc: Add restart option 2024-04-29 05:51:11 -07:00
tests rc: Start testing the rc(8) framework (beginning with *_oomprotect) 2023-10-04 13:11:18 +02:00
Makefile rc: Start testing the rc(8) framework (beginning with *_oomprotect) 2023-10-04 13:11:18 +02:00
netstart Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
network.subr Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
pccard_ether Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc.bsdextended Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc.conf kdc: Add restart option 2024-04-29 05:51:11 -07:00
rc.firewall Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc.initdiskless Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc.resume Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc.sendmail Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc.shutdown Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
rc.subr rc.conf(5): add <service>_umask to run the service using this value 2023-12-02 15:15:52 +07:00
rc.suspend Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00