diff --git a/deployment/setup_20.04.sh b/deployment/setup_20.04.sh index 69683b695..384ffdda0 100644 --- a/deployment/setup_20.04.sh +++ b/deployment/setup_20.04.sh @@ -25,7 +25,7 @@ adduser --disabled-login --gecos "" chatwoot gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB gpg2 --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB curl -sSL https://get.rvm.io | bash -s stable -addgroup chatwoot rvm +adduser chatwoot rvm pg_pass=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 15 ; echo '') sudo -i -u postgres psql << EOF