Update PhyreServer.php
This commit is contained in:
parent
1848d65a03
commit
3d6b440d74
1 changed files with 2 additions and 2 deletions
|
@ -137,8 +137,8 @@ class PhyreServer extends Model
|
||||||
$ssh = new SSH2($this->ip);
|
$ssh = new SSH2($this->ip);
|
||||||
if ($ssh->login($this->username, $this->password)) {
|
if ($ssh->login($this->username, $this->password)) {
|
||||||
|
|
||||||
// $output = $ssh->exec('cd /usr/local/phyre/web && /usr/local/phyre/php/bin/php artisan apache:ping-websites-with-curl');
|
$output = $ssh->exec('cd /usr/local/phyre/web && /usr/local/phyre/php/bin/php artisan apache:ping-websites-with-curl');
|
||||||
// dd($output);
|
dd($output);
|
||||||
|
|
||||||
$output = '';
|
$output = '';
|
||||||
$output .= $ssh->exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
$output .= $ssh->exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
||||||
|
|
Loading…
Reference in a new issue