最近在 macOS 部署了 rtp2httpd,因为日志问题把硬盘撑爆了。 尝试使用 macOS 内置 newsyslog 实现日志轮转,但是 newsyslog 不支持 logrotate 的 postrotate 类似方式来获取 pid 数值。 希望可以增加 PIDFILE 配置项,以实现更好的 BSD 系统兼容性。
最近在 macOS 部署了 rtp2httpd,因为日志问题把硬盘撑爆了。
尝试使用 macOS 内置 newsyslog 实现日志轮转,但是 newsyslog 不支持 logrotate 的 postrotate 类似方式来获取 pid 数值。
希望可以增加 PIDFILE 配置项,以实现更好的 BSD 系统兼容性。