Skip to content
Snippets Groups Projects
Commit 21e7ceb3 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

CLI naming: add core to all core commands

parent 119de45f
Branches
Tags
No related merge requests found
Pipeline #60139 failed
......@@ -29,7 +29,7 @@ queue_dsn: 'redis://localhost:6379'
Start a worker using
```bash
./bin/console dbp:relay:queue:work my-worker-01
./bin/console dbp:relay:core:queue:work my-worker-01
```
It will automatically exit after a specific amount 0f time or after a specific
......@@ -47,7 +47,7 @@ Note:
After deployment run
```bash
./bin/console dbp:relay:queue:restart
./bin/console dbp:relay:core:queue:restart
```
This will signal the workers to exit after the current task, which means they
......@@ -64,7 +64,7 @@ sudo apt-get install supervisor
```ini
;/etc/supervisor/conf.d/queue-worker.conf
[program:queue-work]
command=php /path/to/your/app/bin/console dbp:relay:queue:work "%(program_name)s_%(process_num)02d"
command=php /path/to/your/app/bin/console dbp:relay:core:queue:work "%(program_name)s_%(process_num)02d"
user=user
numprocs=2
startsecs=0
......
......@@ -15,7 +15,7 @@ class RestartCommand extends Command implements LoggerAwareInterface
{
use LoggerAwareTrait;
protected static $defaultName = 'dbp:relay:queue:restart';
protected static $defaultName = 'dbp:relay:core:queue:restart';
protected function execute(InputInterface $input, OutputInterface $output)
{
......
......@@ -22,7 +22,7 @@ class WorkCommand extends Command implements LoggerAwareInterface
{
use LoggerAwareTrait;
protected static $defaultName = 'dbp:relay:queue:work';
protected static $defaultName = 'dbp:relay:core:queue:work';
/**
* @var TransportFactoryDecorator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment