diff options
| author | Mark Weiman <mark.weiman@markzz.com> | 2016-01-07 15:41:02 -0500 |
|---|---|---|
| committer | Mark Weiman <mark.weiman@markzz.com> | 2016-01-07 15:41:02 -0500 |
| commit | 2bb1b6c7d8812934e77c73f024243cf3870462ec (patch) | |
| tree | 2b6ac298cc81510bcd57d4d63c90ed133eb9e5ce /nginx-markzz/logrotate | |
| parent | 8f85fe9394490d81621e2c65ad7597aeda9b3c75 (diff) | |
| download | markzz-2bb1b6c7d8812934e77c73f024243cf3870462ec.tar.gz markzz-2bb1b6c7d8812934e77c73f024243cf3870462ec.zip | |
added nginx-markzz
Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
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 +} + |
