This commit is contained in:
John Lancaster
2025-12-30 00:37:17 -06:00
parent 2bfdd5543f
commit 80a59bb0a8

View File

@@ -171,7 +171,7 @@ if [ ! -f "$CERT_LOCATION" ] || [ ! -f "$KEY_LOCATION" ]; then
--provisioner admin
fi
echo -E "\n\nCert information:"
echo "\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 -E "\n\nInstalling rotation services"
echo "\n\nInstalling rotation services"
echo "-----------------------------"
install_unit ${SERVICE_TEMPLATE_URL}
install_unit ${TIMER_TEMPLATE_URL}
echo -E "\n\nReloading services"
echo "\n\nReloading services"
echo "-----------------------------"
systemctl daemon-reload
systemctl enable --now "${TIMER_FILE}" "${SERVICE_FILE}"