mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-03 23:26:58 +02:00
Update to 2024-09-26 12:00
This commit is contained in:
12
roles/nomad/templates/logrotate.conf.j2
Normal file
12
roles/nomad/templates/logrotate.conf.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ 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
|
||||
}
|
Reference in New Issue
Block a user