Skip to content

Instantly share code, notes, and snippets.

@kuntashov
Last active February 20, 2021 12:22
Show Gist options
  • Save kuntashov/8fe0b2e0701d6785713e35e8418e4751 to your computer and use it in GitHub Desktop.
Save kuntashov/8fe0b2e0701d6785713e35e8418e4751 to your computer and use it in GitHub Desktop.
Запускатель 1С:Исполнителя (исправлением)
#!/usr/bin/env bash
SCRIPT_DIR=$(cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" ; pwd -P)
CONFIG_PATH=${SCRIPT_DIR}/../config
LOGBACK_OPT=-Dlogback.configurationFile=${CONFIG_PATH}/logback.xml
LOG_DIR=-Dlogs.root=${CONFIG_PATH}/../logs
CP_PATH=${SCRIPT_DIR}/../lib/*:${SCRIPT_DIR}/../lib/bsl_objects/*
java -XX:TieredStopAtLevel=1 -XX:+TieredCompilation -Dorg.eclipse.emf.common.util.ReferenceClearingQueue=false -cp "${CP_PATH}" "${LOGBACK_OPT}" "${LOG_DIR}" -Dfile.encoding=UTF-8 com.e1c.g5rt.executor.client.ConsoleExecutor "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment