From 83f7fe4b8402bab171d110703a1b1115efbc9b28 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 14 Apr 2026 22:32:43 +0200 Subject: cleaned up many scrits and deleted some that were of no use; renamed a lot --- straper/db/public/cron/cron.weekly/tor | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 straper/db/public/cron/cron.weekly/tor (limited to 'straper/db/public/cron/cron.weekly/tor') 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 -- cgit v1.3