1
0
Fork 0
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:
Éric Gaspar 2022-07-08 08:43:17 +02:00
parent 8cfc2ee008
commit 194d4eb03e
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -104,6 +104,13 @@ then
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
fi
#=================================================
# SPECIFIC MODIFICATIONS
#=================================================
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"
#=================================================
# GENERIC FINALISATION
#=================================================