diff options
Diffstat (limited to 'network/openresty/openresty.logrotate')
-rw-r--r-- | network/openresty/openresty.logrotate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/network/openresty/openresty.logrotate b/network/openresty/openresty.logrotate new file mode 100644 index 0000000000..44a32e710e --- /dev/null +++ b/network/openresty/openresty.logrotate @@ -0,0 +1,12 @@ +/var/log/openresty/*.log { + su @USER@ @GROUP@ + rotate 10 + notifempty + size 5M + compress + delaycompress + sharedscripts + postrotate + /etc/rc.d/rc.openresty rotate + endscript +} |