diff --git a/src/Console.php b/src/Console.php index 2e7cca9..4dc0c17 100644 --- a/src/Console.php +++ b/src/Console.php @@ -68,7 +68,7 @@ public function stop($signal=SIGUSR1) } else { $this->logger->log('[pid: ' . $ppid . '] has been stopped fail'); } - $this->getRedis()->set('status', Process::STATUS_WAIT); + $this->getRedis()->set(Process::REDIS_MASTER_KEY, Process::STATUS_WAIT); } else { exit('service is not running' . PHP_EOL); }