mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-29 02:50:30 +00:00
18 lines
403 B
PHP
18 lines
403 B
PHP
<?php
|
|
|
|
namespace Modules\Email;
|
|
|
|
use App\ModulePostInstall;
|
|
|
|
class PostInstall extends ModulePostInstall
|
|
{
|
|
public $supportLog = true;
|
|
public function run()
|
|
{
|
|
$installDockerShellFile = base_path('Modules/Email/shell-scripts/install-docker.sh');
|
|
|
|
shell_exec("chmod +x $installDockerShellFile");
|
|
shell_exec("bash $installDockerShellFile >> $this->logFile &");
|
|
|
|
}
|
|
}
|