From 4790dcfc39ecfd382fbcb3e5250f76f1522f955b Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 22 Jul 2023 20:03:25 +0200 Subject: fix gitea --- galaxy.yml | 2 +- roles/gitea/templates/app.ini.j2 | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index b0ba438..d5ff7f3 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: kompetenzbolzen name: stuff -version: 0.19.0 +version: 0.19.1 readme: README.md authors: - Jonas Gunz diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2 index 3be53b0..26c1527 100644 --- a/roles/gitea/templates/app.ini.j2 +++ b/roles/gitea/templates/app.ini.j2 @@ -8,6 +8,7 @@ RUN_MODE = prod ROOT = /home/git/gitea-repositories [server] +APP_DATA_PATH = /home/git/ PROTOCOL = https DOMAIN = {{ ansible_facts.fqdn }} ROOT_URL = {{ gitea.root_url }} @@ -54,7 +55,6 @@ ALLOWED_HOST_LIST = {{ gitea.webhook_allowed_hosts }} [mailer] ENABLED = {{ gitea.mail.enable }} {% if gitea.mail.enable %} -SEND_BUFFER_LEN = 100 SUBJECT_PREFIX = {{ gitea.mail.subject_prefix }} HOST = {{ gitea.mail.smtp_host }} SKIP_VERIFY = {{ gitea.mail.skip_verify }} @@ -67,6 +67,9 @@ MAILER_TYPE = smtp SENDMAIL_PATH = sendmail SENDMAIL_ARGS = SENDMAIL_TIMEOUT = 5m + +[queue.mailer] +SEND_BUFFER_LEN = 100 {% endif %} [log] -- cgit v1.2.3