|
@@ -598,7 +598,7 @@ class Worker
|
|
|
// Start command.
|
|
// Start command.
|
|
|
$mode = '';
|
|
$mode = '';
|
|
|
if ($command === 'start') {
|
|
if ($command === 'start') {
|
|
|
- if ($command2 === '-d') {
|
|
|
|
|
|
|
+ if ($command2 === '-d' || Worker::$daemonize) {
|
|
|
$mode = 'in DAEMON mode';
|
|
$mode = 'in DAEMON mode';
|
|
|
} else {
|
|
} else {
|
|
|
$mode = 'in DEBUG mode';
|
|
$mode = 'in DEBUG mode';
|