Supervisor 修改配置文件中的参数值,需要更新服务才能生效
问题描述
Supervisor修改了配置文件中的参数值(比如程序运行所需的内存),但是重启服务没有生效。
解决方案
1、使用如下命令更新Supervisor的配置。
supervisorctl update
2、重启所需的服务
supervisorctl restart program_name
Supervisor修改了配置文件中的参数值(比如程序运行所需的内存),但是重启服务没有生效。
1、使用如下命令更新Supervisor的配置。
supervisorctl update
2、重启所需的服务
supervisorctl restart program_name