3 # Expire https inspection certificates
7 # skip in favour of systemd timer if called from cron.daily
8 if [ -d /run/systemd/system ] && [ "$1" != "systemd-timer" ]; then
13 CERTDIR=/var/lib/privoxy/certs
16 if [ -d $CERTDIR ]; then
17 find $CERTDIR -type f -mtime +$EXPIREDAYS -print0 | xargs -0 -r rm -f