mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
19 lines
433 B
PHP
19 lines
433 B
PHP
<?php
|
|
|
|
namespace Modules\LetsEncrypt;
|
|
|
|
use App\ModulePostInstall;
|
|
|
|
class PostInstall extends ModulePostInstall
|
|
{
|
|
public $supportLog = true;
|
|
public function run()
|
|
{
|
|
$installDockerShellFile = base_path('Modules/LetsEncrypt/shell/install-letsencrypt.sh');
|
|
|
|
shell_exec("chmod +x $installDockerShellFile");
|
|
shell_exec("bash $installDockerShellFile >> $this->logFile &");
|
|
|
|
return true;
|
|
}
|
|
}
|