aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/logging/logrotate.d/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'straper/db/public/logging/logrotate.d/nginx')
-rw-r--r--straper/db/public/logging/logrotate.d/nginx18
1 files changed, 0 insertions, 18 deletions
diff --git a/straper/db/public/logging/logrotate.d/nginx b/straper/db/public/logging/logrotate.d/nginx
deleted file mode 100644
index 423c6ad..0000000
--- a/straper/db/public/logging/logrotate.d/nginx
+++ /dev/null
@@ -1,18 +0,0 @@
-/var/log/nginx/*.log {
- daily
- missingok
- rotate 14
- compress
- delaycompress
- notifempty
- create 0640 www-data adm
- sharedscripts
- prerotate
- if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
- run-parts /etc/logrotate.d/httpd-prerotate; \
- fi \
- endscript
- postrotate
- invoke-rc.d nginx rotate >/dev/null 2>&1
- endscript
-}