From b89c07276f988b0329a9566db3c8efe63358e71a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 26 Jun 2018 01:20:54 -0600 Subject: [PATCH] correct .config paths --- usr/share/install_helper.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 871f39c..2efb22c 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -284,16 +284,16 @@ set -e export TELEBIT_USER=$my_user export TELEBIT_GROUP=$my_group export TELEBIT_PATH -TELEBIT_CONFIG=$HOME/.config/$my_app.yml +TELEBIT_CONFIG=$HOME/.config/$my_app/$my_app.yml # TODO check both expected sock paths in client by default if [ "yes" == "$TELEBIT_USERSPACE" ]; then - TELEBIT_TMP_CONFIGD=$HOME/.config/$my_daemon.yml - TELEBIT_CONFIGD=$HOME/.config/$my_daemon.yml - TELEBIT_SOCK=$HOME/.local/share/telebit/var/run/telebit.sock + TELEBIT_TMP_CONFIGD=$HOME/.config/$my_app/$my_daemon.yml + TELEBIT_CONFIGD=$HOME/.config/$my_app/$my_daemon.yml + TELEBIT_SOCK=$HOME/.local/share/$my_app/var/run/$my_app.sock else TELEBIT_TMP_CONFIGD=$TELEBIT_TMP/etc/$my_daemon.yml TELEBIT_CONFIGD=$TELEBIT_REAL_PATH/etc/$my_daemon.yml - TELEBIT_SOCK=$TELEBIT_REAL_PATH/var/run/telebit.sock + TELEBIT_SOCK=$TELEBIT_REAL_PATH/var/run/$my_app.sock fi $my_node $TELEBIT_TMP/usr/share/template-launcher.js