[Unit]
Description=Daily rotation of log files
[Timer]
OnCalendar=daily
AccuracySec=12h
Persistent=true
Unit=logrotate.service
[Install]
WantedBy=multi-user.target