1
0
Fork 0

Some log information and error treatment

This commit is contained in:
Joao M 2022-08-20 15:50:11 +00:00
parent 9ba269845d
commit 4b85b98412
9 changed files with 69 additions and 1 deletions

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bash
if [ ! -f /scripts/letsencrypt_hosts.txt ]; then
exit 0
fi
# Semaphore
if [ -f /tmp/certbot-lock ]; then
echo "[CERTBOT_JOB] $(date +"$EASYHAPROXY_DATEFORMAT") Another process is running"