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
while true; do
# Download
echo \
"$(date): Attemping to download..."
echo " -- $(date)"
if sslmate download --all; then
echo "$(date) Downloaded new certificates! Touch NEW in 'keys' directory"
echo " -- download"
touch /etc/sslmate/certs/NEW
else
if [[ "$?" != "10" ]]; then
echo "sslmate error"
echo " -- sslmate error"
sleep 36000
exit
fi
fi