Correction génération mot de passe par eole-db

This commit is contained in:
wpetit 2019-09-29 10:08:53 +02:00
parent e42436c303
commit 93b96fb8e0
2 changed files with 3 additions and 4 deletions

View File

@ -34,8 +34,7 @@ createscript: "/usr/share/eole/db/gitea/gen/00-create-gitea-db.sql"
%set cnt_prefix = %%getVar('container_path_reseau', '')
pwd_files:
- {file: '%%cnt_prefix/etc/gitea/conf/app.ini',
pattern: 'PASSWD = ',
end_pattern: '',
pattern: 'PASSWD = `',
end_pattern: '`',
owner: 'root:gitservice',
mod: '660' }

View File

@ -70,7 +70,7 @@ HOST = %%{gitea_dbserver}:%%{gitea_dbport}
%end if
NAME = gitea
USER = gitea
PASSWD = gitea1234
PASSWD = `gitea1234`
; For "postgres" only, either "disable", "require" or "verify-full"
SSL_MODE = disable
; For "sqlite3" only