Updated gitea to be more powerful and configurable
This commit is contained in:
parent
cb7bcebc27
commit
27cbc6d922
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue