Refactor ServerStatusJob.php to remove coolify.yaml from cloud hosted servers
This commit is contained in:
parent
f4cb7cea21
commit
6140d0c849
@ -54,7 +54,7 @@ public function handle()
|
||||
private function removeCoolifyYaml()
|
||||
{
|
||||
// This will remote the coolify.yaml file from the server as it is not needed on cloud servers
|
||||
if (isCloud()) {
|
||||
if (isCloud() && $this->server->id !== 0) {
|
||||
$file = $this->server->proxyPath() . "/dynamic/coolify.yaml";
|
||||
return instant_remote_process([
|
||||
"rm -f $file",
|
||||
|
Loading…
Reference in New Issue
Block a user