diff --git a/upgrade_gitea b/upgrade_gitea index 1bfe93f..85fb37c 100644 --- a/upgrade_gitea +++ b/upgrade_gitea @@ -37,7 +37,7 @@ else su - git -c "cd /srv/gitea/bin ; $BINDIR/gitea dump --tempdir $GITEA_HOME/tmp/ -c /etc/gitea/gitea.ini" # Call doctor. - su - git -c "cd /srv/gitea/bin ; $BINDIR/gitea doctor --all --fix -c /etc/gitea/gitea.ini" + su - git -c "cd /srv/gitea/bin ; $BINDIR/gitea doctor --all --fix -c /etc/gitea/gitea.ini -C /srv/gitea/custom -w /srv/gitea" # Upgrade. chmod u+x gitea-$VERSION-linux-amd64