3 # https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/dev/build/tasks/bin/scripts/opensearch-dashboards-keystore
5 DIR
="/usr/share/opensearch-dashboards"
6 CONFIG_DIR
="/etc/opensearch-dashboards"
8 if [ -f "${CONFIG_DIR}/node.options" ]; then
9 OSD_NODE_OPTS
="$(grep -v ^# <${CONFIG_DIR}/node.options | xargs)"
12 NODE_OPTIONS
="$OSD_NODE_OPTS $NODE_OPTIONS" NODE_ENV
=production
exec node
"${DIR}/src/cli_keystore/dist" ${@}