From 232e907363f701eb0634a086d0603d4b084350c4 Mon Sep 17 00:00:00 2001 From: Joao Patricio Date: Mon, 20 Mar 2023 14:40:14 +0000 Subject: [PATCH] Have Sail and SSU. Runs a command on a remote host. --- app/Http/Livewire/RunCommand.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/app/Http/Livewire/RunCommand.php b/app/Http/Livewire/RunCommand.php index 96add0fb3..b61cc0374 100755 --- a/app/Http/Livewire/RunCommand.php +++ b/app/Http/Livewire/RunCommand.php @@ -22,22 +22,7 @@ public function render() public function runCommand() { $this->isKeepAliveOn = true; - - // Override manual to experiment - $override = 0; - - if ($override) { - // Good to play with the throttle feature - $sleepingBeauty = 'x=1; while [ $x -le 40 ]; do sleep 0.1 && echo "Welcome $x times" $(( x++ )); done'; - - $this->activity = coolifyProcess(<<activity = coolifyProcess($this->command, 'testing-host'); }