mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 23:12:35 +00:00
init
This commit is contained in:
18
app/SSHCommands/InstallUfwCommand.php
Executable file
18
app/SSHCommands/InstallUfwCommand.php
Executable file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\SSHCommands;
|
||||
|
||||
use Illuminate\Support\Facades\File;
|
||||
|
||||
class InstallUfwCommand extends Command
|
||||
{
|
||||
public function file(string $os): string
|
||||
{
|
||||
return File::get(base_path('system/commands/ubuntu/install-ufw.sh'));
|
||||
}
|
||||
|
||||
public function content(string $os): string
|
||||
{
|
||||
return $this->file($os);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user