Browse Source

update: update command

v2board 2 years ago
parent
commit
f621619cc4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Console/Commands/V2boardUpdate.php

+ 2 - 1
app/Console/Commands/V2boardUpdate.php

@@ -57,6 +57,7 @@ class V2boardUpdate extends Command
             } catch (\Exception $e) {
             }
         }
-        $this->info('更新完毕,请重新启动队列服务。');
+        \Artisan::call('horizon:terminate');
+        $this->info('更新完毕,队列服务已重启,你无需进行任何操作。');
     }
 }