From 902b7893be06b4279113cdb7f39893cb2f7ad573 Mon Sep 17 00:00:00 2001 From: webbuilder_pel7ppc64bebuilder0 Date: Sat, 25 Aug 2018 17:10:40 +0200 Subject: [PATCH] nginx add missing source file Signed-off-by: webbuilder_pel7ppc64bebuilder0 --- SOURCES/nginx.logrotate | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 SOURCES/nginx.logrotate diff --git a/SOURCES/nginx.logrotate b/SOURCES/nginx.logrotate new file mode 100755 index 0000000..cffa62e --- /dev/null +++ b/SOURCES/nginx.logrotate @@ -0,0 +1,13 @@ +/var/log/nginx/*log { + create 0644 nginx nginx + daily + rotate 10 + missingok + notifempty + compress + sharedscripts + postrotate + /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true + endscript +} +