diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-17 12:57:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-17 13:06:22 +0000 |
commit | 8da11f7f097a7c0b318ee5b0bf7ff6fc08ff5693 (patch) | |
tree | 693bdec4352a79047b497b4c4f38890a234fe807 /dehydrated/share/hooks/exit_hook.service-reload | |
parent | Adding upstream version 20221223. (diff) | |
download | open-infrastructure-service-tools-8da11f7f097a7c0b318ee5b0bf7ff6fc08ff5693.tar.xz open-infrastructure-service-tools-8da11f7f097a7c0b318ee5b0bf7ff6fc08ff5693.zip |
Adding upstream version 20221224.upstream/20221224
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | dehydrated/share/hooks/exit_hook.service-reload | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dehydrated/share/hooks/exit_hook.service-reload b/dehydrated/share/hooks/exit_hook.service-reload index c62c133..6d20eb9 100755 --- a/dehydrated/share/hooks/exit_hook.service-reload +++ b/dehydrated/share/hooks/exit_hook.service-reload @@ -38,6 +38,14 @@ Run_chrony () fi } +Run_freeradius () +{ + if grep -Eqrs 'certificate_file = /var/lib/dehydrated' /etc/freeradius/*/* + then + service freeradius reload + fi +} + Run_haproxy () { if grep 'ssl crt' /etc/haproxy/haproxy.cfg | grep -qsv '^#' @@ -96,7 +104,7 @@ Run_redis_server () echo " + Reloading services:" -SERVICES="apache2 chrony haproxy knot-resolver postfix postgresql redis-sentinel redis-server" +SERVICES="apache2 chrony freeradius haproxy knot-resolver postfix postgresql redis-sentinel redis-server" for SERVICE in ${SERVICES} do |