1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/horde_ynh.git synced 2024-09-03 19:16:08 +02:00
horde_ynh/scripts/change_url

35 lines
1 KiB
Text
Raw Permalink Normal View History

2018-02-06 14:33:23 +01:00
#!/bin/bash
2018-02-11 00:32:26 +01:00
#=================================================
2022-03-09 00:27:32 +01:00
# GENERIC STARTING
2018-02-11 00:32:26 +01:00
#=================================================
2018-02-06 14:33:23 +01:00
# IMPORT GENERIC HELPERS
2022-03-09 00:27:32 +01:00
#=================================================
2018-02-06 14:33:23 +01:00
2022-03-09 00:27:32 +01:00
source _common.sh
source /usr/share/yunohost/helpers
2022-03-09 00:27:32 +01:00
#=================================================
# STANDARD MODIFICATIONS
#=================================================
2018-02-06 14:33:23 +01:00
# MODIFY URL IN NGINX CONF
2022-03-09 00:27:32 +01:00
#=================================================
2022-08-31 00:06:07 +02:00
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
2022-03-09 00:27:32 +01:00
2023-11-02 22:33:38 +01:00
ynh_change_url_nginx_config
2022-08-31 00:06:07 +02:00
#=================================================
# SPECIFIC MODIFICATIONS
#=================================================
# UPDATE HORDE CONFIG
#=================================================
ynh_script_progression --message="Configuring application..." --weight=3
2022-08-31 00:06:07 +02:00
2018-02-06 14:33:23 +01:00
config_horde
2022-03-09 00:27:32 +01:00
#=================================================
# END OF SCRIPT
#=================================================
2022-08-31 00:06:07 +02:00
ynh_script_progression --message="Change of URL completed for $app" --last