debian/groonga-server-gqtp.logrotate
raw| 1 | /var/log/groonga/*-gqtp.log { |
| 2 | su _groonga groonga |
| 3 | daily |
| 4 | missingok |
| 5 | rotate 30 |
| 6 | compress |
| 7 | delaycompress |
| 8 | notifempty |
| 9 | sharedscripts |
| 10 | postrotate |
| 11 | . /etc/default/groonga-server-gqtp |
| 12 | if x"$ENABLE" = x"yes"; then |
| 13 | /usr/bin/groonga --port "${PORT:-10043}" -c 127.0.0.1 \ |
| 14 | log_reopen > /dev/null |
| 15 | fi |
| 16 | endscript |
| 17 | } |