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:
parent
8a1f103115
commit
9656f9f1c0
1 changed files with 4 additions and 1 deletions
|
@ -117,7 +117,6 @@ db_pwd=$(ynh_string_random 30)
|
||||||
ynh_app_setting_set "$app" psql_db "$db_name"
|
ynh_app_setting_set "$app" psql_db "$db_name"
|
||||||
ynh_app_setting_set "$app" psqlpwd "$db_pwd"
|
ynh_app_setting_set "$app" psqlpwd "$db_pwd"
|
||||||
ynh_psql_test_if_first_run
|
ynh_psql_test_if_first_run
|
||||||
ynh_psql_create_user "$db_name" "$db_pwd"
|
|
||||||
ynh_psql_create_db "$db_name" "$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
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue