1
Fork 0

lapetus: Clean up old foregejo dumps

This commit is contained in:
prescientmoon 2024-10-11 17:24:20 +02:00
parent 187aae8173
commit e5a9c9391a
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U

View file

@ -55,4 +55,9 @@
};
};
};
# Clean up dumps older than a week.
# The data is also saved in zfs snapshots and rsync backups,
# so this is just an extra layer of safety.
systemd.user.tmpfiles.rules = [ "d ${config.services.forgejo.stateDir}/dump - - - 7d" ];
}