From d81c9faac60a57c2548422bd9966c7d20b1a99aa Mon Sep 17 00:00:00 2001 From: Boy132 Date: Tue, 4 Jun 2024 13:01:52 +0200 Subject: [PATCH] improve prompts --- .../Commands/Environment/QueueWorkerServiceCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/Environment/QueueWorkerServiceCommand.php b/app/Console/Commands/Environment/QueueWorkerServiceCommand.php index 49d4cbfec..3fe3da4c9 100644 --- a/app/Console/Commands/Environment/QueueWorkerServiceCommand.php +++ b/app/Console/Commands/Environment/QueueWorkerServiceCommand.php @@ -19,7 +19,7 @@ class QueueWorkerServiceCommand extends Command public function handle(): void { - $serviceName = $this->option('service-name') ?? $this->ask('Service name', 'pelican-queue'); + $serviceName = $this->option('service-name') ?? $this->ask('Queue worker Service name', 'pelican-queue'); $path = '/etc/systemd/system/' . $serviceName . '.service'; if (file_exists($path) && !$this->option('overwrite') && !$this->confirm('The service file already exists. Do you want to overwrite it?')) { @@ -28,8 +28,8 @@ class QueueWorkerServiceCommand extends Command return; } - $user = $this->option('user') ?? $this->ask('User', 'www-data'); - $group = $this->option('group') ?? $this->ask('Group', 'www-data'); + $user = $this->option('user') ?? $this->ask('Webserver User', 'www-data'); + $group = $this->option('group') ?? $this->ask('Webserver Group', 'www-data'); $afterRedis = $this->option('use-redis') ? '\nAfter=redis-server.service' : '';