mootensai / supervisor-manager
为Yii2设计的Supervisor管理模块
1.0.2
2019-12-06 12:17 UTC
Requires
Requires (Dev)
- mikey179/vfsstream: ~1
- phpunit/phpunit: 5.1.*
This package is not auto-updated.
Last update: 2024-09-14 06:02:20 UTC
README
提供对supervisor进程管理器的图形界面。此包是为与Yii2框架一起使用而编写的。要使用此包,您应该在系统上已安装supervisor。
安装supervisor后,您应通过添加新的配置路径来更新supervisor.conf
[include]
files = {project_path}/common/config/supervisor/*.conf
##安装方法:只需将其添加到您的composer.json文件中
"supervisor-manager/yii2-supervisor-manager": "dev-master",
并将新模块添加到您的应用程序配置中
...
'modules' => [
'supervisor' => [
'class' => 'supervisormanager\Module',
'authData' => [
'user' => 'supervisor_user',
'password' => 'supervisor_pass',
'url' => 'http://127.0.0.1:9001/RPC2' // Set by default
]
]
]
...