Add ZFS mount for gitea, add doc
This commit is contained in:
14
doc/gitea.md
14
doc/gitea.md
@@ -3,6 +3,7 @@
|
||||
## Setup using installer, create user root
|
||||
|
||||
```shell
|
||||
vim /etc/gitea.conf
|
||||
INSTALL_LOCK to false
|
||||
```
|
||||
|
||||
@@ -21,3 +22,16 @@ INSTALL_LOCK to false
|
||||
- Email attribute: `mail`
|
||||
|
||||
No Bind-DN and password needed!
|
||||
|
||||
## Create backup dump to file
|
||||
|
||||
```shell
|
||||
cd /var/lib/gitea/
|
||||
sudo -u _gitea gitea dump -c /etc/gitea.conf
|
||||
```
|
||||
|
||||
## Reset root password
|
||||
```shell
|
||||
cd /var/lib/gitea/
|
||||
sudo -u _gitea gitea admin change-password --config /etc/gitea.conf -u root -p pw
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user