Clearing letsencrypt pipe

This commit is contained in:
myvesta 2020-06-13 00:00:25 +02:00 committed by GitHub
commit 3296e93083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,6 +146,11 @@ if [ ! -f "/usr/local/vesta/data/upgrades/clamav_block_exe_in_archives" ]; then
fi
fi
# Clearing letsencrypt pipe
if [ -f "/usr/local/vesta/data/queue/letsencrypt.pipe" ]; then
truncate -s 0 /usr/local/vesta/data/queue/letsencrypt.pipe
fi
# Run custom triggers
if [ -x "/root/vesta-patch.sh" ]; then
/root/vesta-patch.sh