1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/open-web-calendar_ynh.git synced 2024-09-03 19:56:09 +02:00
This commit is contained in:
Éric Gaspar 2024-02-08 22:39:40 +01:00
parent ed8a8d36ec
commit c8e9e4be24
2 changed files with 0 additions and 13 deletions

View file

@ -1,9 +1,5 @@
#!/bin/bash #!/bin/bash
## this script is only run if actual change to domain/path is detected, if you're here either $domain or $path changed
## new location is available via $domain and $path (or $new_domain and $new_path variables if you want to be explicit)
## old values are available via, you guessed it, $old_domain and $old_path
#================================================= #=================================================
# GENERIC STARTING # GENERIC STARTING
#================================================= #=================================================
@ -27,7 +23,6 @@ ynh_systemd_action --service_name="$app" --action="stop" --log_path="/var/log/$a
#================================================= #=================================================
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
# this will most likely adjust NGINX config correctly
ynh_change_url_nginx_config ynh_change_url_nginx_config
#================================================= #=================================================

View file

@ -1,12 +1,4 @@
#!/bin/bash #!/bin/bash
# In simple cases, you don't need a config script.
# With a simple config_panel.toml, you can write in the app settings, in the
# upstream config file or replace complete files (logo ...) and restart services.
# The config scripts allows you to go further, to handle specific cases
# (validation of several interdependent fields, specific getter/setter for a value,
# display dynamic informations or choices, pre-loading of config type .cube... ).
#================================================= #=================================================
# GENERIC STARTING # GENERIC STARTING