Skip to content

lhy90a/swoole_process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swoole_process

swoole process manage api php7 install extension swoole 1.9

可以通过接口对守护进程进程管理操作,通过进程间通信上报心跳。使用weiboad/kafka-php 支持kafka消费

ln -s swoole_process.service /etc/systemd/system/swoole_process.service

主进程启动 systemctl start swoole_process.service systemctl stop swoole_process.service systemctl reload swoole_process.service

开启进程服务

url: http://127.0.0.1:9595/?action=start&service=Test1Service

关闭进程服务

url: http://127.0.0.1:9595/?action=stop&service=Test1Service

强制关闭进程服务

url: http://127.0.0.1:9595/?action=force&service=Test1Service

结束所有进程服务

url: http://127.0.0.1:9595/?action=stopall&service=Test1Service

主进程状态

url: http://127.0.0.1:9595/?action=status&service=Test1Service

服务列表及状态

url: http://127.0.0.1:9595/?action=list&service=Test1Service

服务列表

url: http://127.0.0.1:9595/?action=list_service&service=Test1Service

临时增加服务

url: http://127.0.0.1:9595/?action=add_service&service=Test1Service

Releases

No releases published

Packages

No packages published

Languages