tweaked output

This commit is contained in:
John Lancaster
2025-12-30 00:35:46 -06:00
parent 39650c2122
commit 2bfdd5543f

View File

@@ -171,7 +171,7 @@ if [ ! -f "$CERT_LOCATION" ] || [ ! -f "$KEY_LOCATION" ]; then
--provisioner admin
fi
echo "Cert information:"
echo -E "\n\nCert information:"
echo "-----------------------------"
openssl x509 -noout -subject -issuer -ext extendedKeyUsage -ext subjectAltName -enddate -in "$CERT_LOCATION"
@@ -181,12 +181,12 @@ REPO_URL_BASE=https://gitea.john-stream.com/john/soteria/raw/branch/main/
SERVICE_TEMPLATE_URL="${REPO_URL_BASE}systemd/${SERVICE_FILE}"
TIMER_TEMPLATE_URL="${REPO_URL_BASE}systemd/${TIMER_FILE}"
echo "Installing rotation services"
echo -E "\n\nInstalling rotation services"
echo "-----------------------------"
install_unit ${SERVICE_TEMPLATE_URL}
install_unit ${TIMER_TEMPLATE_URL}
echo "Reloading services"
echo -E "\n\nReloading services"
echo "-----------------------------"
systemctl daemon-reload
systemctl enable --now "${TIMER_FILE}" "${SERVICE_FILE}"