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

23 lines
692 B
Text
Raw Permalink Normal View History

2020-11-05 20:59:46 +01:00
#!/bin/bash
#=================================================
2020-11-05 21:05:02 +01:00
# GENERIC STARTING
2020-11-05 20:59:46 +01:00
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source /usr/share/yunohost/helpers
#=================================================
2020-11-05 21:05:02 +01:00
# MODIFY URL IN NGINX CONF
2020-11-05 20:59:46 +01:00
#=================================================
2020-11-05 21:05:02 +01:00
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=3
2020-11-05 20:59:46 +01:00
ynh_change_url_nginx_config
2020-11-05 20:59:46 +01:00
#=================================================
# END OF SCRIPT
#=================================================
2020-11-05 21:05:02 +01:00
ynh_script_progression --message="Change of URL completed for Laverna" --last