data/logrotate.d/rhel/groonga-server-gqtp
raw| 1 | /var/log/groonga/*-gqtp.log { |
| 2 | daily |
| 3 | missingok |
| 4 | rotate 30 |
| 5 | compress |
| 6 | delaycompress |
| 7 | notifempty |
| 8 | create 640 groonga groonga |
| 9 | sharedscripts |
| 10 | postrotate |
| 11 | . /etc/sysconfig/groonga/groonga-server-gqtp || : |
| 12 | if [ -f "${PID_PATH}" ]; then |
| 13 | kill -USR1 $(cat "${PID_PATH}") |
| 14 | fi |
| 15 | endscript |
| 16 | } |