fix cleanup backup script

This commit is contained in:
Joseph Hanson 2024-10-01 06:47:28 -05:00
parent 225a716c48
commit d2047078c1
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 1 additions and 3 deletions

View file

@ -13,7 +13,7 @@ in
};
systemd.services.cleanup-backups = {
script = "${cleanupScript}";
script = "${cleanupScript}/bin/cleanup-backups.sh";
serviceConfig = {
Type = "oneshot";
User = "forgejo";

View file

@ -1,5 +1,3 @@
#!/usr/bin/env bash
# Set the backup directory
BACKUP_DIR="/var/lib/forgejo/dump"