lapetus: Clean up old foregejo dumps
This commit is contained in:
parent
187aae8173
commit
e5a9c9391a
|
@ -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" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue