Fix Zebra server not starting

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

View file

@ -1,6 +1,14 @@
#!/command/execlineb -P
with-contenv
importas -D "" elastic USE_ELASTICSEARCH
if -n { test "${elastic}" = "true" }
fdmove -c 2 1
s6-envdir /etc/koha-envvars
s6-setuidgid default-koha
/usr/bin/zebrasrv -v 1 -f /etc/koha/sites/default/koha-conf.xml