Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cat << EOFF > /etc/logrotate.d/jrest
/home/jtel/jrest/log/jtel-rest.log {
    rotate 14
    daily
    missingok
    notifempty
    compress
    dateext
    dateformat %Y-%m-%d.
/home/jtel/jrest/log/jtel-jrest.log {
	    create 644 jtel jtel
}
EOFF

...