Linux ----logrotate服务 自动日志切割
logrotate服务 用法
一般logrotate 都是nginx 自带日志管理模块
var /etc/logrotate.d/linuxaccount
编辑linuxaccount
/alidata/server/nginx/logs/access.log{ 日志文件存放位置
su root www 指向用户(不写会报错)
notifempty 为空不...
原创
2019-03-07 17:22:04 ·
1071 阅读 ·
0 评论