gc server every day
This commit is contained in:
parent
7cbcab7802
commit
207621b8d4
1 changed files with 2 additions and 4 deletions
|
@ -83,11 +83,9 @@ in {
|
||||||
${container} chor-cloud -- ${start} nextcloud-pg-backup
|
${container} chor-cloud -- ${start} nextcloud-pg-backup
|
||||||
${lib.concatMapStringsSep "\n" (name: "${start} ${name}") backupJobNames}
|
${lib.concatMapStringsSep "\n" (name: "${start} ${name}") backupJobNames}
|
||||||
${pkgs.coreutils}/bin/rm -rf /var/lib/db-backup-dumps/*
|
${pkgs.coreutils}/bin/rm -rf /var/lib/db-backup-dumps/*
|
||||||
${start} nix-optimise
|
|
||||||
if [[ "$(date '+%A')" == "Monday" ]]; then
|
|
||||||
${start} nix-gc
|
|
||||||
fi
|
|
||||||
${start} synapse-cleanup
|
${start} synapse-cleanup
|
||||||
|
${start} nix-gc
|
||||||
|
${start} nix-optimise
|
||||||
${pkgs.laminar}/bin/laminarc queue bump-config
|
${pkgs.laminar}/bin/laminarc queue bump-config
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
Loading…
Reference in a new issue