Add proxy start functionality when selecting a proxy type

This commit is contained in:
Andras Bacsai
2024-03-04 10:42:54 +01:00
parent 0dd591a5ff
commit cee6b54033
2 changed files with 7 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ class StartProxy
{
try {
$proxyType = $server->proxyType();
if ($proxyType === 'NONE') {
return 'OK';
}
$commands = collect([]);
$proxy_path = get_proxy_path();
$configuration = CheckConfiguration::run($server);