From a3fce850c60eb9a245bc6b29754b4a5a9a981f33 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 28 Jun 2021 09:40:49 +0200 Subject: [PATCH] Fix --- scripts/_common.sh | 1 - scripts/change_url | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 8755d64..599c71e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,6 @@ # COMMON VARIABLES #================================================= - #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/change_url b/scripts/change_url index b286df6..ff06606 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -62,15 +62,6 @@ then change_path=1 fi -#================================================= -# 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 #================================================= @@ -100,15 +91,6 @@ then ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" fi -#================================================= -# 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" - #================================================= # RELOAD NGINX #=================================================