{{ nomad_root_dir }}/log/*log {
    create 0644 {{ nomad_user }} {{ nomad_user }}
    daily
    rotate 60
    missingok
    notifempty
    compress
    sharedscripts
    postrotate
        /bin/kill -USR1 `cat {{ nomad_root_dir }}/tmp/nomad-jwks-proxy.pid 2>/dev/null` 2>/dev/null || true
    endscript
}
