FULLCLEAN: also clean certbot
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
bdae896baf
commit
7b8f819639
1 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,9 @@ if [ -n "$FULLCLEAN" ]; then
|
|||
fi
|
||||
|
||||
if [ "$FULLCLEAN" = true ]; then
|
||||
find /data/tls/certbot/csr -mtime +90 -name "*.pem" -delete
|
||||
find /data/tls/certbot/keys -mtime +90 -name "*.pem" -delete
|
||||
find /data/tls/certbot/archive -mtime +90 -name "*.pem" -delete
|
||||
if [ "$PHP81" != true ] && [ "$PHP82" != true ]; then
|
||||
rm -vrf /data/php
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue