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

Fix POSTGRESQL database creation

This commit is contained in:
Yalh 2019-01-30 01:05:02 +01:00
parent 8a1f103115
commit 9656f9f1c0

View file

@ -117,7 +117,6 @@ db_pwd=$(ynh_string_random 30)
ynh_app_setting_set "$app" psql_db "$db_name"
ynh_app_setting_set "$app" psqlpwd "$db_pwd"
ynh_psql_test_if_first_run
ynh_psql_create_user "$db_name" "$db_pwd"
ynh_psql_create_db "$db_name" "$db_name" "$db_pwd"
#=================================================
@ -173,6 +172,10 @@ ynh_system_user_create $app
# ...
#=================================================
pushd $final_path
popd
#=================================================
# SETUP SYSTEMD
#=================================================