From e30de6328f568d06a99621ca8f163af28a44e77e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 13 Aug 2017 11:28:59 +0100 Subject: [PATCH 1/2] gnusocial expire script during backups --- src/freedombone-app-gnusocial | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index ea5f2956..7643bfc9 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -377,7 +377,7 @@ function backup_local_gnusocial { fi # don't backup more data than we need to - gnusocial-expire + /etc/cron.daily/gnusocial-expire source_directory=/var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/backup if [ ! -d $source_directory ]; then @@ -457,7 +457,7 @@ function backup_remote_gnusocial { fi # don't backup more data than we need to - gnusocial-expire + /etc/cron.daily/gnusocial-expire source_directory=/var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/backup if [ ! -d $source_directory ]; then From 3afb3077c84190417f7362b7dc9d30dd8e784f1e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 13 Aug 2017 11:30:02 +0100 Subject: [PATCH 2/2] postactiv expire script during backups --- src/freedombone-app-postactiv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 09ba451a..2be6586d 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -393,7 +393,7 @@ function backup_local_postactiv { fi # don't backup more data than we need to - postactiv-expire + /etc/cron.daily/postactiv-expire source_directory=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/backup if [ ! -d $source_directory ]; then @@ -473,7 +473,7 @@ function backup_remote_postactiv { fi # don't backup more data than we need to - postactiv-expire + /etc/cron.daily/postactiv-expire source_directory=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/backup if [ ! -d $source_directory ]; then