This commit is contained in:
2021-04-30 10:59:46 +08:00
parent d3df9043e3
commit 5841fae6c2
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -40,8 +40,6 @@ class Command extends \Console\Command
return 'I don\'t know what I want to do.'; return 'I don\'t know what I want to do.';
} }
exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder');
/** @var Shutdown $shutdown */ /** @var Shutdown $shutdown */
$shutdown = Snowflake::app()->get('shutdown'); $shutdown = Snowflake::app()->get('shutdown');
if ($shutdown->isRunning() && $dtl->get('action') == 'start') { if ($shutdown->isRunning() && $dtl->get('action') == 'start') {
+1
View File
@@ -46,6 +46,7 @@ class ServerInotify extends Process
$this->inotify = inotify_init(); $this->inotify = inotify_init();
$this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE; $this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE;
} }
exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder');
} }