Fix zebra-indexer logs

This commit is contained in:
Theodoros Grammenos 2023-02-18 13:52:14 +02:00
parent b388164147
commit 8b2d3a6823
No known key found for this signature in database
GPG key ID: D25FBC869FCFEBDE
2 changed files with 3 additions and 0 deletions

View file

@ -10,5 +10,6 @@
postrotate
/command/s6-svc -h /run/service/apache2
/command/s6-svc -r /run/service/plack
/command/s6-svc -r /run/service/zebra-indexer
endscript
}

View file

@ -5,6 +5,8 @@ importas -D "" elastic USE_ELASTICSEARCH
if -n { test "${elastic}" = "true" }
redirfd -a 1 /var/log/koha/default/zebra-indexer.log
fdmove -c 2 1
s6-envdir /etc/koha-envvars