lasthourcloud/app/Actions/Server/StopSentinel.php
2024-06-18 16:42:42 +02:00

17 lines
284 B
PHP

<?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);
}
}