mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Clearing letsencrypt pipe
This commit is contained in:
parent
c329b4bb96
commit
21d4b3ee40
1 changed files with 5 additions and 2 deletions
|
@ -147,8 +147,11 @@ if [ ! -f "/usr/local/vesta/data/upgrades/clamav_block_exe_in_archives" ]; then
|
|||
fi
|
||||
|
||||
# Clearing letsencrypt pipe
|
||||
if [ -f "/usr/local/vesta/data/queue/letsencrypt.pipe" ]; then
|
||||
truncate -s 0 /usr/local/vesta/data/queue/letsencrypt.pipe
|
||||
if [ ! -f "/usr/local/vesta/data/upgrades/clearing-letsencrypt-pipe" ]; then
|
||||
touch /usr/local/vesta/data/upgrades/clearing-letsencrypt-pipe
|
||||
if [ -f "/usr/local/vesta/data/queue/letsencrypt.pipe" ]; then
|
||||
truncate -s 0 /usr/local/vesta/data/queue/letsencrypt.pipe
|
||||
fi
|
||||
fi
|
||||
|
||||
# Run custom triggers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue