mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Update change_url
This commit is contained in:
parent
626dfcea9f
commit
af0b5fc39d
1 changed files with 4 additions and 4 deletions
|
@ -109,12 +109,12 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating systemd service..." --weight=1
|
ynh_script_progression --message="Updating systemd service..." --weight=1
|
||||||
|
|
||||||
#ynh_replace_string --match_string="Environment=ROOT_URL= *" --replace_string="Environment=ROOT_URL=https://$new_domain$new_path" --target_file="/etc/systemd/system/$app.service"
|
ynh_replace_string --match_string="Environment=ROOT_URL=*" --replace_string="https://$new_domain$new_path" --target_file="/etc/systemd/system/$app.service"
|
||||||
#systemctl daemon-reload
|
|
||||||
|
|
||||||
sed -i 's/^Environment=ROOT_URL= .*$/Environment=ROOT_URL= Environment=ROOT_URL=https://$new_domain$new_path/' /etc/systemd/system/$app.service
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
#sed -i 's/^Environment=ROOT_URL= .*$/Environment=ROOT_URL= Environment=ROOT_URL=https://$new_domain$new_path/' /etc/systemd/system/$app.service
|
||||||
|
#systemctl daemon-reload
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALISATION
|
# GENERIC FINALISATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue