From cbbcd9748040a40b73d0d7c5ddee3d0b6eff3949 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Sat, 8 Apr 2023 22:32:31 +0700 Subject: [PATCH] Update .env variable config --- scripts/install_memcached.sh | 4 ++-- scripts/install_mongodb.sh | 4 ++-- scripts/install_redis.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install_memcached.sh b/scripts/install_memcached.sh index ad8a6d7..a835fbe 100755 --- a/scripts/install_memcached.sh +++ b/scripts/install_memcached.sh @@ -178,8 +178,8 @@ function init_memcached_install() { echo "Memcached SASL auth option is enabled..." if [[ "${DRYRUN}" != true ]]; then - MEMCACHED_USERNAME=${MEMCACHED_USERNAME:-"lempermc"} - MEMCACHED_PASSWORD=${MEMCACHED_PASSWORD:-$(openssl rand -base64 64 | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)} + export MEMCACHED_USERNAME=${MEMCACHED_USERNAME:-"lempermc"} + export MEMCACHED_PASSWORD=${MEMCACHED_PASSWORD:-$(openssl rand -base64 64 | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)} run mkdir -p /etc/sasl2 && run touch /etc/sasl2/memcached_memcache.conf cat > /etc/sasl2/memcached_memcache.conf <> /etc/redis/redis.conf <