wip
This commit is contained in:
parent
4403147485
commit
fd02219c83
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
namespace App\Http\Livewire\Server;
|
namespace App\Http\Livewire\Server;
|
||||||
|
|
||||||
|
use App\Enums\ActivityTypes;
|
||||||
use App\Models\Server;
|
use App\Models\Server;
|
||||||
use Livewire\Component;
|
use Livewire\Component;
|
||||||
|
|
||||||
|
|
@ -18,7 +19,7 @@ public function mount(Server $server)
|
||||||
|
|
||||||
public function runInstallProxy()
|
public function runInstallProxy()
|
||||||
{
|
{
|
||||||
$activity = remoteProcess(['ls -alh'], $this->server);
|
$activity = remoteProcess(['ls -alh'], $this->server, ActivityTypes::INLINE->value);
|
||||||
|
|
||||||
$this->emit('newMonitorActivity', $activity->id);
|
$this->emit('newMonitorActivity', $activity->id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue