From 51525a41dd2a1468c99a046ed4248cedf4504fb4 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 7 May 2020 02:13:54 +0200 Subject: [PATCH] It shouldn't be the default to start/stop service during backup declarations.. --- scripts/backup | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/backup b/scripts/backup index d985aba..7af1586 100755 --- a/scripts/backup +++ b/scripts/backup @@ -35,11 +35,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) #================================================= # STANDARD BACKUP STEPS #================================================= -# STOP SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Stopping a systemd service..." --time --weight=1 - -ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" #================================================= # BACKUP THE APP MAIN DIR @@ -99,13 +94,6 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" ynh_backup --src_path="/etc/cron.d/$app" -#================================================= -# START SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Starting a systemd service..." --time --weight=1 - -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" - #================================================= # END OF SCRIPT #=================================================