diff options
author | Haruue Icymoon | 2017-12-07 16:06:42 +0800 |
---|---|---|
committer | Haruue Icymoon | 2017-12-07 16:08:25 +0800 |
commit | 326f2bb2189a778d5017cf270af25124a7d07b09 (patch) | |
tree | 345e83495c10e2ce4e24a2fde48b0b4a2b612161 /logrotate | |
download | aur-326f2bb2189a778d5017cf270af25124a7d07b09.tar.gz |
init: nginx-mainline-openssl-weak
Signed-off-by: Haruue Icymoon <haruue@caoyue.com.cn>
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..e0afbb927021 --- /dev/null +++ b/logrotate @@ -0,0 +1,10 @@ +/var/log/nginx/*log { + missingok + notifempty + create 640 http log + sharedscripts + compress + postrotate + test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid` + endscript +} |