📜  logrotate force rotation - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:56.194000             🧑  作者: Mango

代码示例1
# dry run (check operations)
logrotate -vdf /etc/logrotate.d/CONFIGFILE

# run
logrotate -vf /etc/logrotate.d/CONFIGFILE