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', '') %set cnt_prefix = %%getVar('container_path_reseau', '')
pwd_files: pwd_files:
- {file: '%%cnt_prefix/etc/gitea/conf/app.ini', - {file: '%%cnt_prefix/etc/gitea/conf/app.ini',
pattern: 'PASSWD = ', pattern: 'PASSWD = `',
end_pattern: '', end_pattern: '`',
owner: 'root:gitservice', owner: 'root:gitservice',
mod: '660' } mod: '660' }

View File

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