public function afterAction($action) { ## Make sure service daemon is started if (!ServiceManager::checkDaemon()) { ServiceManager::startDaemon(); } parent::afterAction($action); return true; }