lasthourcloud/app/Actions/Server/StopSentinel.php

17 lines
284 B
PHP
Raw Normal View History

2024-06-18 14:42:42 +00:00
<?php
namespace App\Actions\Server;
use App\Models\Server;
use Lorisleiva\Actions\Concerns\AsAction;
class StopSentinel
{
use AsAction;
public function handle(Server $server)
{
instant_remote_process(['docker rm -f coolify-sentinel'], $server, false);
}
}