README.update: add correct command to regenerate keys (if check failed).
This commit is contained in:
+9
-1
@@ -10,7 +10,7 @@
|
|||||||
# ---
|
# ---
|
||||||
|
|
||||||
|
|
||||||
export GITEA_RELEASE_NUMBER="1.26.2"
|
export GITEA_RELEASE_NUMBER="1.27.2"
|
||||||
echo $GITEA_RELEASE_NUMBER
|
echo $GITEA_RELEASE_NUMBER
|
||||||
|
|
||||||
|
|
||||||
@@ -34,6 +34,14 @@ mkdir -p /home/git/temp_backups
|
|||||||
--work-path /var/lib/gitea/ \
|
--work-path /var/lib/gitea/ \
|
||||||
--custom-path /var/lib/gitea/custom/
|
--custom-path /var/lib/gitea/custom/
|
||||||
|
|
||||||
|
# if check numer 4 failed:
|
||||||
|
#
|
||||||
|
# [4] Check if OpenSSH authorized_keys file is up-to-date
|
||||||
|
# - [E] authorized_keys file "/home/git/.ssh/authorized_keys" is out of date.
|
||||||
|
#
|
||||||
|
gitea admin --config /etc/gitea/app.ini regenerate keys
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# make a backup
|
# make a backup
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user