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