diff options
author | janshuez <janshuez[at]outlook[dot]com> | 2023-12-01 20:54:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-01 21:14:22 +0700 |
commit | a65d559b98374747a8463d9fb626a3336b5c84aa (patch) | |
tree | 2481e64cc4d3ed91f2f574706159637dd690ba9d /network/openresty/openresty.logrotate | |
parent | a9cca06f5fc5d0bbecaaef79bd0ca21c075f202e (diff) |
network/openresty: Added (dynamic web platform).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000000..44a32e710e95b --- /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 +} |