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:03:12 +0100
committerSilvino Silva <silvino@bk.ru>2020-04-20 01:03:12 +0100
commit6ca80c0a296cb44bc2b335211df86e8a95383cdf (patch)
tree809ca0fc2eee0353d7040539310605d0e113b3d7 /tools/conf/etc/logrotate.d/nginx
parentfd186246f96768b8398f0ffe32ef136cb895fa21 (diff)
parent5eec098c537ed98f76af59c37a54cb45645cc2a6 (diff)
downloaddoc-6ca80c0a296cb44bc2b335211df86e8a95383cdf.tar.gz
Merge branch 'master' into develop
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
-}