|
Lines 32-37
start_zebra_instance()
Link Here
|
| 32 |
|
32 |
|
| 33 |
# get zebra log levels from koha-conf.xml |
33 |
# get zebra log levels from koha-conf.xml |
| 34 |
local loglevels=$(get_loglevels $instancename) |
34 |
local loglevels=$(get_loglevels $instancename) |
|
|
35 |
local max_record_size=$(get_max_record_size $instancename) |
| 35 |
|
36 |
|
| 36 |
echo "Starting Zebra server for $instancename" |
37 |
echo "Starting Zebra server for $instancename" |
| 37 |
touch "/var/log/koha/$instancename/zebra-error.log" \ |
38 |
touch "/var/log/koha/$instancename/zebra-error.log" \ |
|
Lines 51-56
start_zebra_instance()
Link Here
|
| 51 |
-- \ |
52 |
-- \ |
| 52 |
zebrasrv \ |
53 |
zebrasrv \ |
| 53 |
-v $loglevels \ |
54 |
-v $loglevels \ |
|
|
55 |
-k $max_record_size \ |
| 54 |
-f "/etc/koha/sites/$instancename/koha-conf.xml" && \ |
56 |
-f "/etc/koha/sites/$instancename/koha-conf.xml" && \ |
| 55 |
return 0 || \ |
57 |
return 0 || \ |
| 56 |
return 1 |
58 |
return 1 |
| 57 |
- |
|
|