1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/slingcode_ynh.git synced 2024-09-03 20:25:55 +02:00
slingcode_ynh/scripts/change_url
eric_G 79342bdf8d
Version 2 (#12)
* v2

* Auto-update README

* v2

* Auto-update README

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2023-09-26 23:49:15 +02:00

22 lines
689 B
Bash

#!/bin/bash
#=================================================
# GENERIC STARTING
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source /usr/share/yunohost/helpers
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=3
ynh_change_url_nginx_config
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Change of URL completed for $app" --last