again
This commit is contained in:
@@ -171,7 +171,7 @@ if [ ! -f "$CERT_LOCATION" ] || [ ! -f "$KEY_LOCATION" ]; then
|
||||
--provisioner admin
|
||||
fi
|
||||
|
||||
echo "\n\nCert information:"
|
||||
printf "\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 "\n\nInstalling rotation services"
|
||||
printf "\n\nInstalling rotation services"
|
||||
echo "-----------------------------"
|
||||
install_unit ${SERVICE_TEMPLATE_URL}
|
||||
install_unit ${TIMER_TEMPLATE_URL}
|
||||
|
||||
echo "\n\nReloading services"
|
||||
printf "\n\nReloading services"
|
||||
echo "-----------------------------"
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now "${TIMER_FILE}" "${SERVICE_FILE}"
|
||||
|
||||
Reference in New Issue
Block a user