1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wikijs_ynh.git synced 2024-09-03 20:36:09 +02:00

Fix db_user

This commit is contained in:
Yalh 2019-01-29 22:07:31 +01:00
parent d739f637c7
commit 593ad63708
2 changed files with 1 additions and 2 deletions

View file

@ -32,7 +32,7 @@ db:
# PostgreSQL / MySQL / MariaDB / MS SQL Server only: # PostgreSQL / MySQL / MariaDB / MS SQL Server only:
host: localhost host: localhost
port: 3306 port: 3306
user: __DB_USER__ user: __DB_NAME__
pass: __DB_PWD__ pass: __DB_PWD__
db: __DB_NAME__ db: __DB_NAME__
# SQLite only: # SQLite only:

View file

@ -227,7 +227,6 @@ cp -f ../conf/config.sample.yml "$final_path/config.yml"
#ynh_replace_string "match_string" "replace_string" "$final_path/config.yml" #ynh_replace_string "match_string" "replace_string" "$final_path/config.yml"
ynh_replace_string "__PORT__" "$port" "$final_path/config.yml" ynh_replace_string "__PORT__" "$port" "$final_path/config.yml"
ynh_replace_string "__DB_USER__" "$db_user" "$final_path/config.yml"
ynh_replace_string "__DB_PWD__" "$db_pwd" "$final_path/config.yml" ynh_replace_string "__DB_PWD__" "$db_pwd" "$final_path/config.yml"
ynh_replace_string "__DB_NAME__" "$db_name" "$final_path/config.yml" ynh_replace_string "__DB_NAME__" "$db_name" "$final_path/config.yml"