Add restart functionality to proxy deployment
This commit is contained in:
@@ -49,6 +49,14 @@ class Deploy extends Component
|
||||
{
|
||||
$this->server->refresh();
|
||||
}
|
||||
public function restart() {
|
||||
try {
|
||||
$this->stop();
|
||||
$this->dispatch('checkProxy');
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
}
|
||||
}
|
||||
public function checkProxy()
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user