Index: modules/discourse/files/logrotate |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/modules/discourse/files/logrotate |
@@ -0,0 +1,11 @@ |
+/var/log/nginx/access_log_intraforum { |
+ daily |
+ rotate 30 |
+ compress |
+ missingok |
+ nodateext |
+ sharedscripts |
+ postrotate |
+ [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid` |
+ endscript |
+} |