PHP面试问答
MySQLRedisWeb安全问题网络协议PHP服务器业务设计线上故障个人简历自我介绍离职原因职业规划准备问题
In the meanwhile I smile and I sing all alone. In the meanwhile the air is filling with the perfume of promise.
Supervisor 是一款使用 Python 开发的非常优秀的进程管理工具。它可以在类 UNIX 系统上让用户精确地监视与控制多组指定数量的服务进程。当监控的服务进程意外退出时,会尝试自动重启这些服务,以保持服务可用状态。Supervisor 官方 提供的安装方式较多,这里采用 pip 方式安装。通过 pip 安装 Supervisor:安装 Supervisor 后,会出现 supervisorctl 和 supervisord 两个程序,其中 supervisorctl 为服务监控终端,而 supervisord 才是所有监控服务的大脑。查看 supervisord 是否安装成功:将 supervisord 配置成开机启动服务,下载官方 init 脚本。修改关键路径配置:移到该文件到/etc/init.d目录下,并重命名为 supervisor