From 457cea755a02e0bf27239520a532834d5a044fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rajmund=20Hru=C5=A1ka?= <rajmund.hruska@cesnet.cz> Date: Wed, 19 Apr 2023 10:22:25 +0200 Subject: [PATCH] Fix: Remove database restart (Redmine issue: #7624) --- conf/scripts/maintenance-mode.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/conf/scripts/maintenance-mode.sh b/conf/scripts/maintenance-mode.sh index d733ef09..58d84783 100755 --- a/conf/scripts/maintenance-mode.sh +++ b/conf/scripts/maintenance-mode.sh @@ -39,7 +39,6 @@ function maintenance_on() { systemctl restart apache2 mentat-controller.py --command disable mentat-controller.py --command stop - systemctl restart postgresql exit 0 } @@ -53,7 +52,6 @@ function maintenance_off() { echo "#==============================================================================#" echo " Current time: `date --rfc-3339=second`" echo "" - systemctl restart postgresql mentat-controller.py --command start mentat-controller.py --command enable a2dismod substitute -- GitLab