From 01818e1a25481aad9014352781a4581c65774ef2 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Sun, 1 Dec 2019 01:03:30 +0000 Subject: [PATCH] Splitting out personal configs --- makeuser | 6 ++---- setenv | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100755 setenv diff --git a/makeuser b/makeuser index 97a028d..94c23f4 100755 --- a/makeuser +++ b/makeuser @@ -12,7 +12,7 @@ ADMIN_EMAIL="root@thunix.net" EMAIL_TEMPLATE="email.tmpl" YAML_FILE="$1.yml" GEN_TDP="./gen_tdp" -TILDE_JSON="var/www/thunix.cf/tilde.json" +TILDE_JSON="/var/www/thunix.cf/tilde.json" # This one for team # ZNC_USER="/home/znc/add_znc_user.sh" @@ -20,9 +20,7 @@ TILDE_JSON="var/www/thunix.cf/tilde.json" # This one for Thunix ZNC_USER="/var/lib/znc/create-znc_account.sh" -# Set location to your repo for ansible here -# It is only needed for thunix -REPO_LOCATION="/home/ubergeek/repos/ansible/" +. ./setenv error_exit() { echo -e "${PROGNAME}: ${1:-"Unknown Error"}" >&2 diff --git a/setenv b/setenv new file mode 100755 index 0000000..79ae85c --- /dev/null +++ b/setenv @@ -0,0 +1,3 @@ +# Set location to your repo for ansible here +# It is only needed for thunix +export REPO_LOCATION="/home/ubergeek/repos/ansible/"