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
|
2019-11-02 21:19:47 +01:00
|
|
|
|
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
|
|
|
|
#=================================================
|
2019-11-02 21:19:47 +01:00
|
|
|
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
|
|
|
|
#=================================================
|
2019-11-02 21:19:47 +01:00
|
|
|
|
2022-08-31 00:06:07 +02:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|