fix cleanup backup script
This commit is contained in:
parent
225a716c48
commit
d2047078c1
2 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,7 @@ in
|
|||
};
|
||||
|
||||
systemd.services.cleanup-backups = {
|
||||
script = "${cleanupScript}";
|
||||
script = "${cleanupScript}/bin/cleanup-backups.sh";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "forgejo";
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Set the backup directory
|
||||
BACKUP_DIR="/var/lib/forgejo/dump"
|
||||
|
||||
|
|
Loading…
Reference in a new issue