correct .config paths
This commit is contained in:
parent
800a3b4abc
commit
b89c07276f
|
@ -284,16 +284,16 @@ set -e
|
||||||
export TELEBIT_USER=$my_user
|
export TELEBIT_USER=$my_user
|
||||||
export TELEBIT_GROUP=$my_group
|
export TELEBIT_GROUP=$my_group
|
||||||
export TELEBIT_PATH
|
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
|
# TODO check both expected sock paths in client by default
|
||||||
if [ "yes" == "$TELEBIT_USERSPACE" ]; then
|
if [ "yes" == "$TELEBIT_USERSPACE" ]; then
|
||||||
TELEBIT_TMP_CONFIGD=$HOME/.config/$my_daemon.yml
|
TELEBIT_TMP_CONFIGD=$HOME/.config/$my_app/$my_daemon.yml
|
||||||
TELEBIT_CONFIGD=$HOME/.config/$my_daemon.yml
|
TELEBIT_CONFIGD=$HOME/.config/$my_app/$my_daemon.yml
|
||||||
TELEBIT_SOCK=$HOME/.local/share/telebit/var/run/telebit.sock
|
TELEBIT_SOCK=$HOME/.local/share/$my_app/var/run/$my_app.sock
|
||||||
else
|
else
|
||||||
TELEBIT_TMP_CONFIGD=$TELEBIT_TMP/etc/$my_daemon.yml
|
TELEBIT_TMP_CONFIGD=$TELEBIT_TMP/etc/$my_daemon.yml
|
||||||
TELEBIT_CONFIGD=$TELEBIT_REAL_PATH/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
|
fi
|
||||||
$my_node $TELEBIT_TMP/usr/share/template-launcher.js
|
$my_node $TELEBIT_TMP/usr/share/template-launcher.js
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue