diff --git a/web/app/Actions/CreateLinuxWebUser.php b/web/app/Actions/CreateLinuxWebUser.php index 3f15e37..113893f 100644 --- a/web/app/Actions/CreateLinuxWebUser.php +++ b/web/app/Actions/CreateLinuxWebUser.php @@ -32,8 +32,8 @@ class CreateLinuxWebUser $command = 'adduser --disabled-password --gecos "" "'.$username.'"'; $output .= ShellApi::exec($command); - $command = 'groupadd '.$username; - $output .= ShellApi::exec($command); +// $command = 'groupadd '.$username; +// $output .= ShellApi::exec($command); $command = 'usermod -a -G www-data '.$username; $output .= ShellApi::exec($command); diff --git a/web/app/Console/Commands/ApachePingWebsitesWithCurl.php b/web/app/Console/Commands/ApachePingWebsitesWithCurl.php index fa129cb..dcab5bc 100644 --- a/web/app/Console/Commands/ApachePingWebsitesWithCurl.php +++ b/web/app/Console/Commands/ApachePingWebsitesWithCurl.php @@ -35,7 +35,7 @@ class ApachePingWebsitesWithCurl extends Command $newSubscription = new \App\Models\HostingSubscription(); $newSubscription->customer_id = $findCustomer->id; $newSubscription->hosting_plan_id = $findHostingPlan->id; - $newSubscription->domain = 'next-server-1-'.$i.rand(1111,9999).'.test.multiweber.com'; + $newSubscription->domain = 'next-'.rand(111,999).'server-1-'.$i.rand(1111,9999).'.test.multiweber.com'; $newSubscription->save(); }