#! /bin/bash

ThirdPartyPath="/app/C_CXX_LIB";
#ThirdPartyPath="/home/tim/share/C_CXX_LIB";

ProjectPath="/app/BackstageService";
#ProjectPath="/home/tim/share/BackstageService";

export LD_LIBRARY_PATH=$ProjectPath"/lib:"$ThirdPartyPath"/runtime/lib:"$ThirdPartyPath"/unixODBC/lib:"$ThirdPartyPath"/mysql/lib:"$ThirdPartyPath;
export ODBCSYSINI=$ThirdPartyPath"/unixODBC/etc";
export MySQLClientFileRootDirectory="/app/Web/public/File";
export RemoteDatabaseFileRootDirectory="/app/Web/public/File";
#export RemoteDatabaseFileRootDirectory="/home/tim/share/File";


. /app/DBus/function.sh
WaitDbusComplete;
cd $ProjectPath"/bin";
./BackstageService
