gnusocial expire script during backups

This commit is contained in:
Bob Mottram 2017-08-13 11:28:59 +01:00
parent 9c1e131e4d
commit e30de6328f
1 changed files with 2 additions and 2 deletions

View File

@ -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