?? install
字號:
-- ---===========------===========------===========------===========------===========------- 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -