From 3b63308158122866f937fb82868514f7e3cee3b6 Mon Sep 17 00:00:00 2001 From: "Daniel A. Maierhofer" Date: Sun, 4 Nov 2018 16:07:36 +0100 Subject: [PATCH] Update gitea --- doc/ariane.md | 1 + doc/gitea.md | 4 ++-- roles/gitea/tasks/gitea.yml | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/ariane.md b/doc/ariane.md index 573aebe..8625616 100644 --- a/doc/ariane.md +++ b/doc/ariane.md @@ -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/daten/Scans zfs create -o setuid=off -o exec=off zv1/zyklon +chown 997:996 /zv1/zyklon ``` ### Set dataset quota ```shell diff --git a/doc/gitea.md b/doc/gitea.md index f61ddfd..580abf1 100644 --- a/doc/gitea.md +++ b/doc/gitea.md @@ -3,8 +3,8 @@ ## Setup using installer, create user root ```shell -vim /etc/gitea.conf -INSTALL_LOCK to false +vim /etc/gitea.conf # INSTALL_LOCK to false +sv restart gitea ``` ## Gitea LDAP Authentication settings diff --git a/roles/gitea/tasks/gitea.yml b/roles/gitea/tasks/gitea.yml index 9d2d03c..f4a9190 100644 --- a/roles/gitea/tasks/gitea.yml +++ b/roles/gitea/tasks/gitea.yml @@ -5,9 +5,9 @@ - git-all - 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 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