Update gitea
This commit is contained in:
@@ -98,6 +98,7 @@ zfs set mountpoint=/var/lib/lxc ssd/var/lxc
|
|||||||
zfs create -o com.sun:auto-snapshot=false zv1/sojus
|
zfs create -o com.sun:auto-snapshot=false zv1/sojus
|
||||||
zfs create -o com.sun:auto-snapshot=false zv1/daten/Scans
|
zfs create -o com.sun:auto-snapshot=false zv1/daten/Scans
|
||||||
zfs create -o setuid=off -o exec=off zv1/zyklon
|
zfs create -o setuid=off -o exec=off zv1/zyklon
|
||||||
|
chown 997:996 /zv1/zyklon
|
||||||
```
|
```
|
||||||
### Set dataset quota
|
### Set dataset quota
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
## Setup using installer, create user root
|
## Setup using installer, create user root
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
vim /etc/gitea.conf
|
vim /etc/gitea.conf # INSTALL_LOCK to false
|
||||||
INSTALL_LOCK to false
|
sv restart gitea
|
||||||
```
|
```
|
||||||
|
|
||||||
## Gitea LDAP Authentication settings
|
## Gitea LDAP Authentication settings
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
- git-all
|
- git-all
|
||||||
- gitea
|
- gitea
|
||||||
|
|
||||||
- name: gitea - /etc/gitea.conf
|
|
||||||
template: dest=/etc/gitea.conf src=gitea.conf.j2 owner=root group=root mode=0644
|
|
||||||
notify: restart gitea
|
|
||||||
|
|
||||||
- name: gitea - git user
|
- name: gitea - git user
|
||||||
user: name=_gitea shell=/bin/bash
|
user: name=_gitea shell=/bin/bash
|
||||||
|
|
||||||
|
- name: gitea - /etc/gitea.conf
|
||||||
|
template: dest=/etc/gitea.conf src=gitea.conf.j2 owner=_gitea group=root mode=0640
|
||||||
|
notify: restart gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user