Merge "haproxy/certmonger: use container_cli to trigger HUP signal"

This commit is contained in:
Zuul 2019-03-27 20:23:04 +00:00 committed by Gerrit Code Review
commit 5b176cb91b
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ if [ "$ACTION" == "reload" ]; then
$container_cli exec "$haproxy_container_name" chown haproxy:haproxy "$service_pem"
# Trigger a reload for HAProxy to read the new certificates
pkill -f -HUP haproxy-systemd-wrapper
$container_cli kill --signal HUP "$haproxy_container_name"
elif [ "$ACTION" == "restart" ]; then
# Copying the certificate and permissions will be handled by kolla's start
# script.