You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
477 B

description: Log Rotation Service
type: run-once
data-resources:
- /var/lib/logrotate
host-resources:
- /var/run/docker.sock ## used by docker-send-signal for reloading containers
provides:
log-rotate:
tech-dep: "reversed"
uses:
schedule-command:
constraint: required
auto: summon
solves:
missing-feature: "scheduling of log rotation"
default-options:
schedule: "0 0 * * *" ## It should really stay at midnight as most logs are dated