1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cesium_ynh.git synced 2024-09-03 18:06:25 +02:00
cesium_ynh/scripts/change_url

23 lines
684 B
Text
Raw Normal View History

2020-06-04 00:20:50 +02:00
#!/bin/bash
2020-06-03 23:41:51 +02:00
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
2020-06-15 01:58:37 +02:00
source _common.sh
2020-06-03 23:41:51 +02:00
source /usr/share/yunohost/helpers
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================
2024-02-28 21:07:14 +01:00
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
2020-06-03 23:41:51 +02:00
2024-02-28 21:07:14 +01:00
# this will most likely adjust NGINX config correctly
ynh_change_url_nginx_config
2020-06-03 23:41:51 +02:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Change of URL completed for $app"