Merge branch '20705-crunchstat-warn-missing-data'
[arvados.git] / tools / salt-install / config_examples / multi_host / aws / pillars / logrotate_wb1.sls
1 ---
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 # Refer to logrotate-formula's documentation for information about customization
7 # https://github.com/salt-formulas/salt-formula-logrotate/blob/master/README.rst
8
9 logrotate:
10   jobs:
11     arvados-workbench:
12       path:
13         - /var/www/arvados-workbench/shared/log/*.log
14       config:
15         - daily
16         - missingok
17         - rotate 365
18         - compress
19         - nodelaycompress
20         - copytruncate
21         - sharedscripts
22         - postrotate
23         - '  [ -s /run/nginx.pid ] && kill -USR1 `cat /run/nginx.pid`'
24         - endscript