summarylogtreecommitdiffstats
path: root/logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'logrotate')
-rw-r--r--logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/logrotate b/logrotate
new file mode 100644
index 000000000000..e08eef474b4b
--- /dev/null
+++ b/logrotate
@@ -0,0 +1,10 @@
+/var/log/angie/*log {
+ missingok
+ notifempty
+ create 640 http log
+ sharedscripts
+ compress
+ postrotate
+ test ! -r /run/angie.pid || kill -USR1 `cat /run/angie.pid`
+ endscript
+}