async update process
This commit is contained in:
@@ -53,12 +53,12 @@ class UpdateCoolify
|
|||||||
private function update()
|
private function update()
|
||||||
{
|
{
|
||||||
if (isDev()) {
|
if (isDev()) {
|
||||||
instant_remote_process([
|
remote_process([
|
||||||
"sleep 1"
|
"sleep 10"
|
||||||
], $this->server);
|
], $this->server);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
instant_remote_process([
|
remote_process([
|
||||||
"curl -fsSL https://cdn.coollabs.io/coolify/upgrade.sh -o /data/coolify/source/upgrade.sh",
|
"curl -fsSL https://cdn.coollabs.io/coolify/upgrade.sh -o /data/coolify/source/upgrade.sh",
|
||||||
"bash /data/coolify/source/upgrade.sh $this->latestVersion"
|
"bash /data/coolify/source/upgrade.sh $this->latestVersion"
|
||||||
], $this->server);
|
], $this->server);
|
||||||
|
|||||||
Reference in New Issue
Block a user