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
449 B

description: Log Rotation Service
type: run-once
data-resources:
- /var/lib/logrotate
## YYY: probably not useful anymore
# charm-resources:
# - /etc/cron.daily/logrotate
provides:
log-rotate:
tech-dep: "reversed"
uses:
schedule-command:
constraint: required
solves:
missing-feature: "scheduling of log rotation"
default-options:
schedule: "0 0 * * *" ## It should really stay at midnight as most logs are dated