mootensai/supervisor-manager

为Yii2设计的Supervisor管理模块

安装: 334

依赖: 0

建议: 0

安全: 0

星标: 1

关注者: 1

分支: 13

类型:yii2-extension

1.0.2 2019-12-06 12:17 UTC

This package is not auto-updated.

Last update: 2024-09-14 06:02:20 UTC


README

Build Status Total Downloads Latest Stable Version License

提供对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
    ]
  ]
]
...

##进程列表示例