Skip to content

Commit

Permalink
feat: use init script to restart awslogs
Browse files Browse the repository at this point in the history
The awslogs service was failing to restart, which resulted in the rotated log file continuing to be used until disk space ran out.
  • Loading branch information
nck committed Jan 30, 2019
1 parent 0740e8c commit 35a6e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/logrotate_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
compress
rotate 4
postrotate
service awslogs restart
{{ awslogs_setup_nanny_service }} awslogs restart
endscript
}

0 comments on commit 35a6e83

Please sign in to comment.