From 5c3b7276abf0d01b53662f38db5b4d52377343ed Mon Sep 17 00:00:00 2001 From: Mark Weiman Date: Sat, 2 Jan 2016 01:22:31 -0500 Subject: initial commit Signed-off-by: Mark Weiman --- nginx-pam/logrotate | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nginx-pam/logrotate (limited to 'nginx-pam/logrotate') diff --git a/nginx-pam/logrotate b/nginx-pam/logrotate new file mode 100644 index 0000000..4726b3d --- /dev/null +++ b/nginx-pam/logrotate @@ -0,0 +1,11 @@ +/var/log/nginx/*log { + missingok + create 640 http log + su http log + sharedscripts + compress + postrotate + test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid` + endscript +} + -- cgit v1.3