Skip to content

Commit 803fba6

Browse files
committed
Update ServerStartCommand.php
1 parent 404638f commit 803fba6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/ServerStartCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
3535
{
3636
$option_daemonize = $input->hasOption('daemonize') ? $input->getOption('daemonize') : false;
3737
$config = $this->container->get(ConfigInterface::class);
38-
$config->set('server.settings.daemonize', $option_daemonize);
38+
3939
if($option_daemonize){
40+
$config->set('server.settings.daemonize', true);
4041
stdLog()->info('start daemonize...');
4142
}
4243
$start_server = make(StartServer::class);

0 commit comments

Comments
 (0)