diff options
author | Daichi Shinozaki | 2015-07-17 15:25:56 +0100 |
---|---|---|
committer | Daichi Shinozaki | 2015-07-17 15:25:56 +0100 |
commit | df367a385e63cfdf7b8c6b4862b2c6fed13d78a6 (patch) | |
tree | 4c0a182e8431d7b8b411362bc2ddbb7cce0e109b /openresty.logrotate | |
download | aur-df367a385e63cfdf7b8c6b4862b2c6fed13d78a6.tar.gz |
Initial import
Diffstat (limited to 'openresty.logrotate')
-rw-r--r-- | openresty.logrotate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openresty.logrotate b/openresty.logrotate new file mode 100644 index 000000000000..d490d5d9b1d0 --- /dev/null +++ b/openresty.logrotate @@ -0,0 +1,8 @@ +/var/log/nginx/*.log { + missingok + sharedscripts + compress + postrotate + test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid` + endscript +} |