????

Your IP : 18.191.171.121


Current Path : /proc/self/root/lib/Acronis/BackupAndRecovery/
Upload File :
Current File : //proc/self/root/lib/Acronis/BackupAndRecovery/service_process

#!/bin/bash

unset LD_ADDITIONAL_PATH
unset TCMALLOC_SUPPORT_LIB
unset TCMALLOC_LOGGER_LIB
[ -z "$LC_ALL" ] && export LC_ALL=en_US.utf8

[ -r /usr/lib/Acronis/system_libs/8.2.1/config ] && . /usr/lib/Acronis/system_libs/8.2.1/config
[ -r /usr/lib/Acronis/system_libs/config ] && . /usr/lib/Acronis/system_libs/config
prepare_script=/usr/lib/Acronis/BackupAndRecovery/service_process-bin_prepare.sh
[ -r $prepare_script ] && . $prepare_script
IFS=""
ulimit -s 2048
ulimit -n 4096
PUB_NAME="`basename $0`"
if [ -x "/usr/lib/Acronis/BackupAndRecovery/Common/libtcmalloc.so" ]; then
  export LD_PRELOAD="$TCMALLOC_LOGGER_LIB /usr/lib/Acronis/BackupAndRecovery/Common/libtcmalloc.so $TCMALLOC_SUPPORT_LIB"
  [ -z "$TCMALLOC_STACKTRACE_METHOD" ] && export TCMALLOC_STACKTRACE_METHOD="generic_fp"
fi
if [ ! -z "$USE_SYSTEM_RUNTIME" ]; then
  LD_LIBRARY_PATH=/usr/lib/Acronis/BackupAndRecovery/Common
else
  LD_LIBRARY_PATH=/usr/lib/Acronis/system_libs/8.2.1:/usr/lib/Acronis/BackupAndRecovery/Common
fi
if [ ! -z "$LD_ADDITIONAL_PATH" ]; then
  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LD_ADDITIONAL_PATH
fi
export LD_LIBRARY_PATH
if [ -n "$TCMALLOC_LOGGER_OUT_FILE" ]; then
  exec $WRAPPER /usr/lib/Acronis/BackupAndRecovery/service_process-bin "$@" 2> "$TCMALLOC_LOGGER_OUT_FILE"
else
  exec $WRAPPER /usr/lib/Acronis/BackupAndRecovery/service_process-bin "$@" 
fi