35 lines
956 B
Plaintext
35 lines
956 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# RESET OUTPUT BUFFER
|
||
|
|
||
|
# MAIN DIRECTORIES
|
||
|
#export ROOT_DIR="$"/home/sats/satsd;
|
||
|
export ROOT_DIR="/home/xdrm-brackets/SANDBOX/sats-local";
|
||
|
export LOG_DIR="$ROOT_DIR/log";
|
||
|
export DATA_DIR="$ROOT_DIR/data";
|
||
|
export CONF_DIR="$ROOT_DIR/conf";
|
||
|
#export SOURCE_DIR="$ROOT_DIR./source";
|
||
|
export SOURCE_DIR="/home/xdrm-brackets/Desktop/git.xdrm.io/logauth-sats";
|
||
|
export TMP_DIR="$ROOT_DIR/tmp";
|
||
|
|
||
|
# CONFIGURATION FILES
|
||
|
export SECRET_CONF="$CONF_DIR/machine.secret";
|
||
|
export STATE_CONF="$CONF_DIR/machine.state";
|
||
|
export BRANCH_CONF="$CONF_DIR/machine.branch";
|
||
|
export ID_CONF="$CONF_DIR/machine.id";
|
||
|
export URL_CONF="$CONF_DIR/api.url";
|
||
|
export AUTH_CONF="$CONF_DIR/auth.list";
|
||
|
|
||
|
# LOG FILES
|
||
|
export BOOT_LOG="$CONF_DIR/boot.log";
|
||
|
export DAEMON_LOG="$CONF_DIR/daemon.log";
|
||
|
export INSTALL_LOG="$CONF_DIR/install-source.log";
|
||
|
export UPDATE_LOG="$CONF_DIR/update.log";
|
||
|
|
||
|
# DATA FILES
|
||
|
export ACCESS_DATA="$DATA_DIR/access.data";
|
||
|
|
||
|
# SETTINGS
|
||
|
export SECRET_SIZE=250;
|
||
|
|