about summary refs log tree commit diff stats
path: root/tools/conf/etc/logrotate.d/nginx
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2020-04-20 01:01:22 +0100
committerSilvino Silva <silvino@bk.ru>2020-04-20 01:01:22 +0100
commitfb54fa28e88afb7f9dcd7027b7c820ae8b43f802 (patch)
tree4987031dc2bc48a56484d611598b46f696a8889b /tools/conf/etc/logrotate.d/nginx
parentfd186246f96768b8398f0ffe32ef136cb895fa21 (diff)
parent4216ad7e3cc4d4733034a50c122e4efa4ae08108 (diff)
downloaddoc-fb54fa28e88afb7f9dcd7027b7c820ae8b43f802.tar.gz
Merge branch 'master' into release
Diffstat (limited to 'tools/conf/etc/logrotate.d/nginx')
-rw-r--r--tools/conf/etc/logrotate.d/nginx23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/conf/etc/logrotate.d/nginx b/tools/conf/etc/logrotate.d/nginx
deleted file mode 100644
index ae05445..0000000
--- a/tools/conf/etc/logrotate.d/nginx
+++ /dev/null
@@ -1,23 +0,0 @@
-/var/log/nginx/access.log {
-    weekly
-    create 0664 root www
-    rotate 5
-    sharedscripts
-    postrotate
-    if [ -f /var/run/syslog-ng.pid ]; then \
-    	kill -HUP `cat /var/run/syslog-ng.pid`; \
-    fi;
-    endscript
-}
-
-/var/log/nginx/error.log {
-    weekly
-    create 0644 root root
-    rotate 5
-    sharedscripts
-    postrotate
-    if [ -f /var/run/syslog-ng.pid ]; then \
-    	kill -HUP `cat /var/run/syslog-ng.pid`; \
-    fi;
-    endscript
-}