diff options
author | Danil Syromolotov | 2017-11-12 19:54:15 +0500 |
---|---|---|
committer | Danil Syromolotov | 2017-11-12 19:54:15 +0500 |
commit | 6cc922e71703f86242563cfa8ab7ec7248d42e01 (patch) | |
tree | 4ad4f0e918bdcdbf4fef88c8a967f6d9ac12b539 /openresty.logrotate | |
download | aur-openresty-ldap.tar.gz |
initial commit
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 +} |