aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/cron/cron.weekly/tor
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
committerLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-04-14 22:32:43 +0200
commit83f7fe4b8402bab171d110703a1b1115efbc9b28 (patch)
tree19110702c7d740f6bd8ee4f5d2ebcb97442be237 /straper/db/public/cron/cron.weekly/tor
parent51d43498b07dc97d795947964534f0903cd05db5 (diff)
downloadbin-83f7fe4b8402bab171d110703a1b1115efbc9b28.tar.gz
bin-83f7fe4b8402bab171d110703a1b1115efbc9b28.zip
cleaned up many scrits and deleted some that were of no use; renamed a lot
Diffstat (limited to 'straper/db/public/cron/cron.weekly/tor')
-rwxr-xr-xstraper/db/public/cron/cron.weekly/tor16
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