install
来自「asterisk用 的voip记费软件」· 代码 · 共 23 行
TXT
23 行
-- ---===========------===========------===========------===========------===========------- LOGROTATE FOR A2BILLING-- ---===========------===========------===========------===========------===========-----This logrotate setup will rotate the log files weekly cycling them 5 times so for example, log files will be the newest log files, followed by filename.1, filename.2 all the way to filename.5 (the oldest). Ensure you created the directory : mkdir /var/log/asterisk/a2billing/then create the file /etc/logrotate.d/a2billing , paste the file logrotate/a2billing/var/log/asterisk/a2billing/*.log { weekly rotate 5 size = 20M olddir /var/log/asterisk/a2billing/old missingok compress}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?