Added doctor call and flush call.

This commit is contained in:
Christian P. MOMON 2022-06-13 19:10:04 +00:00
parent 6f18d3b6df
commit c011f9d509
1 changed files with 12 additions and 0 deletions

View File

@ -501,6 +501,12 @@ sha256sum -c gitea-$VERSION-linux-amd64.sha256
gpg --verify gitea-$VERSION-linux-amd64.asc gitea-$VERSION-linux-amd64
```
* flusher :
```
cd /srv/gitea/bin
./gitea -c /etc/gitea/gitea.ini manager flush-queues
```
* stopper :
```
systemctl stop gitea
@ -511,6 +517,12 @@ systemctl stop gitea
su - gitea -c "cd /srv/gitea/bin ; /srv/gitea/bin/gitea dump --tempdir /var/tmp/ -c /etc/gitea/gitea.ini"
```
* appeler le docteur :
```
cd /srv/gitea/bin
./gitea doctor --all --fix -c /etc/gitea/gitea.ini
```
* mettre les bons droits :
```
cd /srv/gitea/bin/