mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 12:16:45 +00:00
feat: debuggable executeNow commands
This commit is contained in:
1 parent
1ba57ef6c3
commit
14919980c2
5 files changed
+42
-23
No files matched your search
@@ -53,6 +53,14 @@ class DeployApplication extends Component
|
||||
$this->application->status = 'stopped';
|
||||
$this->application->save();
|
||||
}
|
||||
public function kill()
|
||||
{
|
||||
runRemoteCommandSync($this->destination->server, ["docker rm -f {$this->application_uuid}"]);
|
||||
if ($this->application->status != 'exited') {
|
||||
$this->application->status = 'exited';
|
||||
$this->application->save();
|
||||
}
|
||||
}
|
||||
|
||||
public function pollingStatus()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user