public function actionStopDaemon() { $isRunning = Setting::get('services.daemon.isRunning', false); if (!!$isRunning) { ServiceManager::stopDaemon(); } }