mirror of
https://github.com/YunoHost-Apps/focalboard_ynh.git
synced 2024-09-03 18:36:19 +02:00
Fix
This commit is contained in:
parent
377d42d0ce
commit
d15e8c2d3b
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
"serverRoot": "http://127.0.0.1:__PORT__",
|
||||
"port": __PORT__,
|
||||
"dbtype": "postgres",
|
||||
"dbconfig": "postgres://__DB_NAME__:__DB_PWD__@localhost/__DB_NAME__?sslmode=disable&connect_timeout=10",
|
||||
"dbconfig": "postgres://__DB_NAME__:__DB_PWD__@localhost/boards?sslmode=disable&connect_timeout=10",
|
||||
"useSSL": false,
|
||||
"webpath": "./pack",
|
||||
"filespath": "./files",
|
||||
|
|
|
@ -80,7 +80,8 @@ ynh_system_user_create --username=$app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Creating a PostgreSQL database..." --weight=2
|
||||
|
||||
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
||||
db_name=boards
|
||||
db_user=$app
|
||||
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
||||
ynh_psql_test_if_first_run
|
||||
ynh_psql_setup_db --db_user=$db_name --db_name=$db_name
|
||||
|
|
Loading…
Add table
Reference in a new issue