diff options
-rw-r--r-- | factory-default/www-servers/nginx/etc/logrotate.d/nginx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/factory-default/www-servers/nginx/etc/logrotate.d/nginx b/factory-default/www-servers/nginx/etc/logrotate.d/nginx new file mode 100644 index 00000000..59767112 --- /dev/null +++ b/factory-default/www-servers/nginx/etc/logrotate.d/nginx @@ -0,0 +1,7 @@ +/var/log/nginx/access.log +/var/log/nginx/error.log { + sharedscripts + postrotate + /etc/init.d/syslog-ng reload > /dev/null + endscript +} |