/var/log/journal/remote/*.journal { daily rotate 10 dateext missingok nocompress sharedscripts prerotate systemctl stop $(systemctl list-units --plain --no-legend \ --state=active 'journal-pull@*.service' \ | awk '{print $1}') 2>/dev/null || true endscript postrotate systemctl start $(systemctl list-units --plain --no-legend \ --state=inactive 'journal-pull@*.service' \ | awk '{print $1}') 2>/dev/null || true endscript }