Sponsored-by: Association KohaLa - https://koha-fr.org/
Signed-off-by: Signed-off-by: Sonia Bouis <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
-e "s/__UNIXGROUP__/$username/g" \
-e "s#__TEMPLATE_CACHE_DIR__#$TEMPLATE_CACHE_DIR#g" \
-e "s#__TIMEZONE__#$TIMEZONE#g" \
+ -e "s#__KEY__#$KEY#g" \
-e "s#__UPLOAD_PATH__#$UPLOAD_PATH#g" \
-e "s#__TMP_PATH__#$TMP_PATH#g" \
-e "s/__LOG_DIR__/\/var\/log\/koha\/$name/g" \
ELASTICSEARCH_SERVER="${CLO_ELASTICSEARCH_SERVER}"
fi
+KEY=$(htpasswd -bnBC 10 "" password | tr -d ':\n' | sed 's/$2y/$2a/');
+
+
if [ "$ENABLE_SRU" != "no" ]; then
enable_sru_server
fi
server. e.g. Antarctica/South_Pole -->
<timezone>__TIMEZONE__</timezone>
+ <!-- This is the salt used to generated anonymized content -->
+ <key>__KEY__</key>
+
<!-- flag for development purposes
dev_install is used to adjust some paths specific to dev installations
strict_sql_modes should not be used in a production environment
server. e.g. Antarctica/South_Pole -->
<timezone></timezone>
+ <!-- This is the salt used to generated anonymized content -->
+ <key>__KEY__</key>
+
<!-- flag for development purposes
dev_install is used to adjust some paths specific to dev installations
strict_sql_modes should not be used in a production environment