Added run_finishtasks

This commit is contained in:
root 2024-07-17 18:26:26 +00:00
parent 0e0c79b1cb
commit 7a82c15848
2 changed files with 5 additions and 0 deletions

View File

@ -119,6 +119,7 @@ wait
# Add cron jobs for backup, upgrade, dumpcerts
add_cron
run_finishtasks
# Print out federated environment details
echo -ne "\n\n"

View File

@ -1711,3 +1711,7 @@ config_network() {
echo -ne "done."
kill -9 $SPINPID &> /dev/null
}
run_finishtasks() {
docker exec -u 33 nextcloud truncate /var/www/html/data/nextcloud.log --size 0
docker system prune -a -f
}