diff options
author | Fantix King | 2016-01-20 17:43:54 +0800 |
---|---|---|
committer | Fantix King | 2016-01-20 18:25:29 +0800 |
commit | b4f587942d8e6c6d0819b995bc39cebcb20e3bc7 (patch) | |
tree | dc0a882158d74c4ecad9ca4c4dbe3043e3731e0a /logrotate | |
download | aur-libx32-nginx.tar.gz |
1.8.0-2.1
Diffstat (limited to 'logrotate')
-rw-r--r-- | logrotate | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/logrotate b/logrotate new file mode 100644 index 000000000000..8409b6fd7f7e --- /dev/null +++ b/logrotate @@ -0,0 +1,10 @@ +/var/log/nginx-x32/*log { + missingok + create 640 http log + su http log + sharedscripts + compress + postrotate + test ! -r /run/nginx-x32.pid || kill -USR1 `cat /run/nginx-x32.pid` + endscript +} |