This commit is contained in:
2020-09-07 16:46:09 +08:00
parent b979abc46b
commit fc75362bac
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ class Application extends BaseApplication
public function start(Input $argv)
{
$manager = Snowflake::app()->server;
$manager->setDaemon($argv->get('daemon', 0));
switch ($argv->get('action')) {
case 'stop':
$manager->shutdown();