up. 添加worker的admin:worker
This commit is contained in:
parent
de0f71f912
commit
297d3e1293
@ -18,7 +18,7 @@ class Worker extends Command
|
|||||||
$this->setName('admin:worker')
|
$this->setName('admin:worker')
|
||||||
->addArgument('action', Argument::OPTIONAL, "start|stop|restart|reload|status|connections", 'start')
|
->addArgument('action', Argument::OPTIONAL, "start|stop|restart|reload|status|connections", 'start')
|
||||||
->addOption('mode', 'm', Option::VALUE_OPTIONAL, 'Run the workerman server in daemon mode.')
|
->addOption('mode', 'm', Option::VALUE_OPTIONAL, 'Run the workerman server in daemon mode.')
|
||||||
->setDescription('the workerman admin command');
|
->setDescription('后台系统worker服务');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function execute(Input $input, Output $output)
|
protected function execute(Input $input, Output $output)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user