nohangup on the provision script please

This commit is contained in:
2025-03-30 15:23:02 +00:00
parent ac77d80dff
commit b62082d091

View File

@@ -39,7 +39,7 @@ class ProvisionServer implements ShouldQueue, ShouldBeEncrypted
$result = $ssh->execute([
'wget --quiet --output-document=provision.sh "' . $provisionScriptUrl . '"',
'chmod +x provision.sh',
'./provision.sh &',
'nohup ./provision.sh > /dev/null 2>&1 &',
]);
logger('executing script on server');
if (! $result->isSuccessful()) {