mirror of
https://github.com/YunoHost-Apps/writefreely_ynh.git
synced 2024-09-03 20:36:02 +02:00
Fix change_url
This commit is contained in:
parent
7b3e6914f5
commit
356b7bbf34
2 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ ynh_systemd_action --action=stop --service_name=$app
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_replace_string "host =.*" "host = https://$new_domain$new_path" "$final_path/config.ini"
|
ynh_replace_string "host =.*" "host = https://$new_domain" "$final_path/config.ini"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SERVICE
|
# START SERVICE
|
||||||
|
|
|
@ -138,7 +138,7 @@ ynh_replace_string "__DBNAME__" "$db_name" "$final_path/config.ini"
|
||||||
ynh_replace_string "__DBUSER__" "$db_name" "$final_path/config.ini"
|
ynh_replace_string "__DBUSER__" "$db_name" "$final_path/config.ini"
|
||||||
ynh_replace_string "__DBPWD__" "$db_pwd" "$final_path/config.ini"
|
ynh_replace_string "__DBPWD__" "$db_pwd" "$final_path/config.ini"
|
||||||
ynh_replace_string "__PORT__" "$port" "$final_path/config.ini"
|
ynh_replace_string "__PORT__" "$port" "$final_path/config.ini"
|
||||||
ynh_replace_string "__DOMAIN_URL__" "https://$domain$path_url" "$final_path/config.ini"
|
ynh_replace_string "__DOMAIN_URL__" "https://$domain" "$final_path/config.ini"
|
||||||
ynh_replace_string "__SINGLEUSER__" "$single_user" "$final_path/config.ini"
|
ynh_replace_string "__SINGLEUSER__" "$single_user" "$final_path/config.ini"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue