Updated gitea to be more powerful and configurable

This commit is contained in:
Eric Renfro 2023-12-13 14:11:33 -05:00
parent cb7bcebc27
commit 27cbc6d922
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -59,7 +59,7 @@ runBackups() {
backupDate=$(date +"%Y-%m-%d") backupDate=$(date +"%Y-%m-%d")
giteaHome=$(getent passwd git | cut -f6 -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() { hook_before() {