Some log information and error treatment
This commit is contained in:
parent
9ba269845d
commit
4b85b98412
9 changed files with 69 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue