From 6a80fdf2fa9e5bb78f9496386cf581d0879621ee Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Sat, 6 May 2023 22:07:13 +0000 Subject: [PATCH] wip --- scripts/change_url | 16 +++------------- scripts/upgrade | 2 +- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index f0964a6..86985d4 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -11,13 +11,6 @@ source /usr/share/yunohost/helpers #================================================= # STANDARD MODIFICATIONS -#================================================= -# STOP SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Stopping a systemd service..." --weight=1 - -ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" - #================================================= # MODIFY URL IN NGINX CONF #================================================= @@ -28,17 +21,14 @@ ynh_change_url_nginx_config #================================================= # SPECIFIC MODIFICATIONS #================================================= -# ... -#================================================= + +# Nothing to do yet... #================================================= # GENERIC FINALISATION #================================================= -# START SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +# Nothing to do yet... #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index d353076..3805e3f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -57,7 +57,7 @@ ynh_script_progression --message="Upgrading system configurations related to $ap # This should be a literal copypasta of what happened in the install's "System configuration" section -ynh_add_fpm_config +ynh_add_fpm_config --usage=medium --footprint=low ynh_add_nginx_config