update
This commit is contained in:
parent
d1ab82f06c
commit
f74656fb63
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue