Linux系统下以守护进程方式运行默认开启文件也会被监控

Tinywan

问题描述

Linux系统下以守护进程方式运行默认开启文件也会被监控

截图

尝试修改config目录下的配置文件,会被自动更新

程序代码或配置

app.php 配置,已经关闭debug模式

return [
    'debug' => false,
    'error_reporting' => E_ALL,
    'default_timezone' => 'Asia/Shanghai',
    'request_class' => Request::class,
    'public_path' => base_path() . DIRECTORY_SEPARATOR . 'public',
    'runtime_path' => base_path(false) . DIRECTORY_SEPARATOR . 'runtime',
    'controller_suffix' => 'Controller',
    'controller_reuse' => true,
];

操作系统环境及workerman/webman等具体版本

"workerman/webman-framework": "^1.5.8",
316 1 0
1个回答

walkor

https://www.workerman.net/doc/webman/others/monitor.html
有单独的配置enable_file_monitor控制

🔝