# Restart as there's no way to signal k3s to re-open log file
#   https://github.com/OpenRC/openrc/issues/341
#   https://github.com/rancher/k3os/issues/433
/var/log/k3s.log {
        missingok
        notifempty
        sharedscripts
        postrotate
                /etc/init.d/k3s --quiet --ifstarted restart || true
        endscript
}
