Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

stop logdrain before restarting it

Andras Bacsaidd3aeb102358
diff --git a/app/Actions/Server/InstallLogDrain.php b/app/Actions/Server/InstallLogDrain.php
index 9b67412115..43376efe56 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);