Skip to content

Commit

Permalink
system: simplify logrotate config for saltbox dir
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Jul 23, 2023
1 parent 89921c0 commit 1f4ed65
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions roles/system/tasks/subtasks/logrotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,7 @@
logrotate_d_items:
- path: "saltbox"
content: |
/srv/git/saltbox/saltbox.log {
weekly
rotate 5
size {{ saltbox_max_log_size }}
missingok
notifempty
create 644 {{ user.name }} {{ user.name }}
}
- path: "saltbox_backup_rclone"
content: |
/srv/git/saltbox/backup_rclone.log {
/srv/git/saltbox/*.log {
weekly
rotate 5
size {{ saltbox_max_log_size }}
Expand Down

0 comments on commit 1f4ed65

Please sign in to comment.