From dd3aeb10235849e14d5b2cb95c33e3870b40c1fe Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 25 Oct 2024 17:29:56 +0200 Subject: [PATCH] stop logdrain before restarting it --- app/Actions/Server/InstallLogDrain.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Actions/Server/InstallLogDrain.php b/app/Actions/Server/InstallLogDrain.php index 9b6741211..43376efe5 100644 --- a/app/Actions/Server/InstallLogDrain.php +++ b/app/Actions/Server/InstallLogDrain.php @@ -209,6 +209,8 @@ Files: ]; $command = array_merge($command, $add_envs_command, $restart_command); + StopLogDrain::run($server); + return instant_remote_process($command, $server); } catch (\Throwable $e) { return handleError($e);