diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index a7178e14..8ce87d16 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -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