mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Update install
This commit is contained in:
parent
038a9dd535
commit
93c358c0bc
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@ ynh_app_setting_set --app="$app" --key="port" --value="$port"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Storing installation settings..." --weight=2
|
||||
|
||||
ynh_app_setting_set --app="$app" --key="app" --value="$app"
|
||||
ynh_app_setting_set --app="$app" --key="domain" --value="$domain"
|
||||
ynh_app_setting_set --app="$app" --key="path" --value="$path_url"
|
||||
ynh_app_setting_set --app="$app" --key="is_public" --value="$is_public"
|
||||
|
@ -116,6 +117,7 @@ ynh_replace_string --match_string="__PATH__" --replace_string="${path_url:1
|
|||
ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="../conf/config.json.example"
|
||||
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="../conf/config.json.example"
|
||||
ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="../conf/config.json.example"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../conf/config.json.example"
|
||||
|
||||
cp ../conf/config.json.example "$final_path/config.json"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue