From f6bacdbe3e72f7507846322ea3629fe9e976f18d Mon Sep 17 00:00:00 2001 From: Sinisa Veseli <sveseli@aps.anl.gov> Date: Wed, 15 Apr 2015 14:47:26 +0000 Subject: [PATCH] use install dir for runtime and log files; this script will be deprecated --- sbin/destroy_all_dm_databases.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/destroy_all_dm_databases.sh b/sbin/destroy_all_dm_databases.sh index 16c5d15b..52a56cbf 100755 --- a/sbin/destroy_all_dm_databases.sh +++ b/sbin/destroy_all_dm_databases.sh @@ -16,7 +16,6 @@ DM_DB_PORT=11136 DM_DB_ADMIN_USER=postgres DM_DB_ADMIN_HOSTS="127.0.0.1 bluegill1.aps.anl.gov visa%.aps.anl.gov" DM_DB_ADMIN_PASSWORD= -DM_DB_CHARACTER_SET=utf8 CURRENT_DIR=`pwd` @@ -26,8 +25,7 @@ cd $CURRENT_DIR if [ -z "${DM_ROOT_DIR}" ]; then DM_ROOT_DIR=$MY_DIR/.. fi -DM_SQL_DIR=$DM_ROOT_DIR/db -DM_RUN_DIR=$DM_ROOT_DIR/var/run +DM_RUN_DIR=${DM_INSTALL_DIR}/var/run DM_ENV_FILE=${DM_ROOT_DIR}/setup.sh if [ ! -f ${DM_ENV_FILE} ]; then echo "Environment file ${DM_ENV_FILE} does not exist." -- GitLab