FULLCLEAN: also clean certbot

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2023-03-16 10:50:29 +01:00
parent bdae896baf
commit 7b8f819639

View File

@@ -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