标签 supervisor

supervisor 监控redis & mongodb

安装

  1. 安装python
    brew install python

  2. 安装pip
    wget https://bootstrap.pypa.io/get-pip.py
    sudo python get-pip.py

  3. 安装supervisor
    pip install supervisor

配置文件

  1. 生成默认的配置文件
    echo_supervisord_conf > /etc/supervisord.conf

  2. 编辑配置文件 参考地址

  3. 附我的配置文件 在默认的配置文件后面添加

[sup[......]

阅读全文»

鄂ICP备13000209号-1

鄂公网安备 42050602000277号