From 27cbc6d922e2bd138e6cdd78c1670ad17ab47617 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 13 Dec 2023 14:11:33 -0500 Subject: [PATCH] Updated gitea to be more powerful and configurable --- scripts/gitea | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gitea b/scripts/gitea index f140651..c84b4ea 100755 --- a/scripts/gitea +++ b/scripts/gitea @@ -59,7 +59,7 @@ runBackups() { backupDate=$(date +"%Y-%m-%d") giteaHome=$(getent passwd git | cut -f6 -d:) - sudo -u "$GITEA_USER" "${GITEA_BIN}" dump -c "${GITEA_CONFIG}" --type tar.xz --file - > "${giteaDir}/gitea-dump-${backupDate}.tar.xz" + sudo -u "$GITEA_USER" "${GITEA_BIN}" dump --config "${GITEA_CONFIG}" --type tar.xz --file - > "${giteaDir}/gitea-dump-${backupDate}.tar.xz" } hook_before() {