Have Sail and SSU. Runs a command on a remote host.
This commit is contained in:
parent
2d6af39ed0
commit
232e907363
@ -23,21 +23,6 @@ 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(<<<EOT
|
||||
cd projects/dummy-project
|
||||
# ~/.docker/cli-plugins/docker-compose build --no-cache
|
||||
$sleepingBeauty
|
||||
EOT, 'testing-host');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$this->activity = coolifyProcess($this->command, 'testing-host');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user