mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
20 lines
347 B
PHP
20 lines
347 B
PHP
<?php
|
|
|
|
namespace App\SSHCommands\System;
|
|
|
|
use App\SSHCommands\Command;
|
|
use Illuminate\Support\Facades\File;
|
|
|
|
class RebootCommand extends Command
|
|
{
|
|
public function file(): string
|
|
{
|
|
return File::get(resource_path('commands/system/reboot.sh'));
|
|
}
|
|
|
|
public function content(): string
|
|
{
|
|
return $this->file();
|
|
}
|
|
}
|