Created
June 10, 2022 04:24
-
-
Save geraldurbas/9a8a6787711c48dd3e623699c0f3aaf5 to your computer and use it in GitHub Desktop.
Gitea Upgrade Playbook on Turnkey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wget latest File: | |
wget https://dl.gitea.io/gitea/1.16.8/gitea-1.16.8-linux-amd64 | |
#see https://dl.gitea.io/gitea | |
su - git -c "/home/git/gitea manager flush-queues" | |
service gitea stop | |
su - git -c "/home/git/gitea dump" | |
chmod 755 gitea-1.16.8-linux-amd64 | |
chown git.git gitea-1.16.8-linux-amd64 | |
rm gitea | |
ln -s gitea-1.16.8-linux-amd64 gitea | |
service gitea start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment