From 93cb7e4cfe33c2d5958d8df92e1a1e015edbc6ad Mon Sep 17 00:00:00 2001 From: ericgaspar <junk.eg@free.fr> Date: Wed, 16 Jun 2021 14:53:15 +0200 Subject: [PATCH] Fix --- scripts/restore | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/scripts/restore b/scripts/restore index fab65b8..565ade3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -43,13 +43,6 @@ ynh_webpath_available --domain=$domain --path_url=$path_url \ test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " -#================================================= -# ACTIVATE MAINTENANCE MODE -#================================================= -ynh_script_progression --message="Activating maintenance mode..." --weight=2 - -ynh_maintenance_mode_ON - #================================================= # STANDARD RESTORATION STEPS #================================================= @@ -122,13 +115,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=8 ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is" sleep 120 -#================================================= -# DEACTIVE MAINTENANCE MODE -#================================================= -ynh_script_progression --message="Disabling maintenance mode..." --weight=7 - -ynh_maintenance_mode_OFF - #================================================= # GENERIC FINALIZATION #=================================================