fix: restart sentinel once a day

This commit is contained in:
Andras Bacsai
2024-10-29 10:28:05 +01:00
parent 5780828f0f
commit c2a2757103
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Actions\Server;
use App\Models\Server;
use Lorisleiva\Actions\Concerns\AsAction;
class RestartContainer
{
use AsAction;
public function handle(Server $server, string $containerName)
{
$server->restartContainer($containerName);
}
}