public function actionStatus()
    {
        if ($this->_getPid()) {
            echo 'Yii 2 Daemon ' . $this->version . ' status: running.' . PHP_EOL;
            return static::EXIT_CODE_NORMAL;
        }
        echo 'Yii 2 Daemon ' . $this->version . ' status: not running!' . PHP_EOL;
        return static::EXIT_CODE_ERROR;
    }