Various changes

This commit is contained in:
Andrew Hurley 2021-08-22 18:42:49 +10:00
parent 1e4cadb6ec
commit 0a1bd59b5c
1 changed files with 4 additions and 4 deletions

View File

@ -72,14 +72,14 @@ fi
# Sync # Sync
while true; do while true; do
# Download # Download
echo \ echo " -- $(date)"
"$(date): Attemping to download..."
if sslmate download --all; then if sslmate download --all; then
echo "$(date) Downloaded new certificates! Touch NEW in 'keys' directory" echo " -- download"
touch /etc/sslmate/certs/NEW touch /etc/sslmate/certs/NEW
else else
if [[ "$?" != "10" ]]; then if [[ "$?" != "10" ]]; then
echo "sslmate error" echo " -- sslmate error"
sleep 36000
exit exit
fi fi
fi fi