Přejít na menu

Logrotate

Správa článků

Vyhledávání Vyhledávání
6.2.2014 11:54
,
Počet přečtení: 748

Automated files rotating.

man logrotate

logrotate [options] configfile

Options:

  • -v Verbose mode
  • -d Dry-run (and verbose)
  • -f Force (rotates again in the same day)

 Config file:

Main: /etc/logrotate.conf
Custom: for example files in /etc/logrotate.d/

Log file of logrotate runs

/var/lib/logrotate.status

Troubleshooting

  • files in /etc/logrotate.d/ must be owned by root:root
Vytvořil 6. února 2014 ve 12:02:10 mira. Upravováno 3x, naposledy 30. srpna 2016 ve 20:36:02, mira


Diskuze ke článku

Vložení nového komentáře
*
*
*