1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pyload_ynh.git synced 2024-09-03 20:16:04 +02:00

Fix upgrade and change_url

This commit is contained in:
Félix Piédallu 2023-12-13 13:47:08 +01:00
parent 5a24793fb5
commit 4e55d49529
2 changed files with 11 additions and 2 deletions

View file

@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" --line_match="Proxy listening"
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
#=================================================
# MODIFY URL IN NGINX CONF

View file

@ -15,6 +15,15 @@ source /usr/share/yunohost/helpers
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
# STOP SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
#=================================================
# NGINX CONFIGURATION
#=================================================