File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,18 @@ $ composer require "rulong/laravel-socket:~0.1.0"
77```
88
99## 2.启动
10+ --d 为deamon模式
1011```
1112$ php artisan workman start {--d}
1213```
14+
15+ ## 3.停止
16+ 只有deamon模式下可用
17+ ```
18+ $ php artisan workman stop
19+ ```
20+
21+ 重启 restart
22+ 平滑重启 reload
23+ 查看状态 status
24+ 查看链接 connections
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Events
1111 * 服务启动
1212 * @Author:<C.Jason>
1313 * @Date:2018-06-20T12:47:12+0800
14- * @param BusinessWorker $businessWorker
14+ * @param Worker $businessWorker
1515 */
1616 public static function onWorkerStart(Worker $businessWorker)
1717 {
@@ -66,7 +66,7 @@ class Events
6666 * 服务器停止
6767 * @Author:<C.Jason>
6868 * @Date:2018-06-20T12:51:51+0800
69- * @param BusinessWorker $businessWorker
69+ * @param Worker $businessWorker
7070 */
7171 public static function onWorkerStop(Worker $businessWorker)
7272 {
You can’t perform that action at this time.
0 commit comments