You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
499 B
14 lines
499 B
#!/bin/bash
|
|
|
|
set -Eeuo pipefail
|
|
|
|
# On the first issuance, quay-app has not loaded any certificate yet: it is not
|
|
# running (its ExecStartPre loads the certificates) and will pick up the new
|
|
# certificate by itself when it starts. Restarting it would be useless.
|
|
if [ ! -s /run/quadlets/quay/tls/ssl.cert ]; then
|
|
echo "No TLS certificate loaded in Quay yet, skipping the restart of quay-app."
|
|
exit 0
|
|
fi
|
|
|
|
/etc/quadlets/quay/quay_load_tls_certs.sh
|
|
systemctl --no-block restart quay-app.service
|
|
|