From ae758c6f1a99fe565eef39cd10a581508234bf23 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Fri, 6 Dec 2019 15:40:49 +0000 Subject: [PATCH] define LIST_NAME in setenv --- makeuser | 1 - makeuser_no_ansible | 1 - rmuser | 4 +++- setenv | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/makeuser b/makeuser index dcc2096..4576e5f 100755 --- a/makeuser +++ b/makeuser @@ -7,7 +7,6 @@ # Forked from tilde.team's make user script ( PROGNAME=${0##*/} VERSION="0.4" -LIST_NAME="thunix-join@lists.tildeverse.org" EMAIL_TEMPLATE="tmpl/email.tmpl" YAML_FILE="$1.yml" GEN_TDP="./gen_tdp" diff --git a/makeuser_no_ansible b/makeuser_no_ansible index 49f6d4a..d819fdc 100755 --- a/makeuser_no_ansible +++ b/makeuser_no_ansible @@ -7,7 +7,6 @@ # Forked from tilde.team's make user script ( PROGNAME=${0##*/} VERSION="0.4" -LIST_NAME="thunix-join@lists.tildeverse.org" EMAIL_TEMPLATE="tmpl/email.tmpl" YAML_FILE="$1.yml" CONFIG=./setenv diff --git a/rmuser b/rmuser index 540fa30..ffabbe8 100755 --- a/rmuser +++ b/rmuser @@ -1,5 +1,7 @@ #!/bin/bash -LIST_NAME="thunix-join@lists.tildeverse.org" +CONFIG=./setenv + +. $CONFIG echo "This will remove user account $1 from Thunix." echo "It is assumed the user account has been un-enforced in Ansible as well." diff --git a/setenv b/setenv index 18cf181..4057c86 100644 --- a/setenv +++ b/setenv @@ -7,3 +7,4 @@ export WANT_USERS="true" export ADMIN_EMAIL="root@thunix.net" export SIGNUP_URL="https://thunix.net/signup" export DESCRIPTION="Thunix is a community, centered around access to a public *nix system. Thunix offers shell accounts with complete set of programming tools, and follows a continuous integration-continuous deployment of system configuration." +export LIST_NAME="thunix-join@lists.tildeverse.org"