diff options
Diffstat (limited to 'nginx-markzz/logrotate')
| -rw-r--r-- | nginx-markzz/logrotate | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nginx-markzz/logrotate b/nginx-markzz/logrotate new file mode 100644 index 0000000..4726b3d --- /dev/null +++ b/nginx-markzz/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 +} + |
