diff options
Diffstat (limited to 'straper/db/public/cron/cron.weekly/tor')
| -rwxr-xr-x | straper/db/public/cron/cron.weekly/tor | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/straper/db/public/cron/cron.weekly/tor b/straper/db/public/cron/cron.weekly/tor deleted file mode 100755 index c30381b..0000000 --- a/straper/db/public/cron/cron.weekly/tor +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -set -e -set -u - -DEFAULTSFILE=/etc/default/tor - -if [ -f $DEFAULTSFILE ] ; then - . $DEFAULTSFILE -fi - -if [ "${CLEANUP_OLD_COREFILES:-}" = "y" ] ; then - if [ -d /var/lib/tor ] ; then - find /var/lib/tor -mindepth 1 -maxdepth 1 -type f -mtime +21 -user debian-tor -regex '.*/core\(\.[0-9]+\)?' -exec rm '{}' + - fi -fi |
