Lines 105-110
generate_config_file() {
Link Here
|
105 |
-e "s/__END_BIBLIOS_RETRIEVAL_INFO__/`echo $END_BIBLIOS_RETRIEVAL_INFO`/g" \ |
105 |
-e "s/__END_BIBLIOS_RETRIEVAL_INFO__/`echo $END_BIBLIOS_RETRIEVAL_INFO`/g" \ |
106 |
-e "s/__START_AUTHORITIES_RETRIEVAL_INFO__/`echo $START_AUTHORITIES_RETRIEVAL_INFO`/g" \ |
106 |
-e "s/__START_AUTHORITIES_RETRIEVAL_INFO__/`echo $START_AUTHORITIES_RETRIEVAL_INFO`/g" \ |
107 |
-e "s/__END_AUTHORITIES_RETRIEVAL_INFO__/`echo $END_AUTHORITIES_RETRIEVAL_INFO`/g" \ |
107 |
-e "s/__END_AUTHORITIES_RETRIEVAL_INFO__/`echo $END_AUTHORITIES_RETRIEVAL_INFO`/g" \ |
|
|
108 |
-e "s/__API_SECRET__/$API_SECRET/g" \ |
108 |
-e "s/__DB_NAME__/$mysqldb/g" \ |
109 |
-e "s/__DB_NAME__/$mysqldb/g" \ |
109 |
-e "s/__DB_HOST__/$mysqlhost/g" \ |
110 |
-e "s/__DB_HOST__/$mysqlhost/g" \ |
110 |
-e "s/__DB_USER__/$mysqluser/g" \ |
111 |
-e "s/__DB_USER__/$mysqluser/g" \ |
Lines 403-409
DEFAULT_MEMCACHED_PREFIX="koha_"
Link Here
|
403 |
UPLOAD_PATH_BASE="/var/lib/koha" |
404 |
UPLOAD_PATH_BASE="/var/lib/koha" |
404 |
UPLOAD_DIR="uploads" |
405 |
UPLOAD_DIR="uploads" |
405 |
UPLOAD_PATH="" |
406 |
UPLOAD_PATH="" |
406 |
|
407 |
# Generate a randomizaed API secret |
|
|
408 |
API_SECRET="$(pwgen -s 64 1)" |
407 |
# SRU server variables |
409 |
# SRU server variables |
408 |
ENABLE_SRU="no" |
410 |
ENABLE_SRU="no" |
409 |
SRU_SERVER_PORT="" |
411 |
SRU_SERVER_PORT="" |