mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
wip: server storage check
This commit is contained in:
1 parent
b00828d4aa
commit
5cd81fe255
3 files changed
+70
No files matched your search
@@ -1212,4 +1212,13 @@ $schema://$host {
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function storageCheck(): ?string
|
||||
{
|
||||
$commands = [
|
||||
'df / --output=pcent | tr -cd 0-9',
|
||||
];
|
||||
|
||||
return instant_remote_process($commands, $this, false);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user