mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
bash script updates
This commit is contained in:
@@ -4,7 +4,7 @@ set -e
|
||||
docker --version
|
||||
echo ""
|
||||
|
||||
OUTPUT_DIR=~/bitwarden
|
||||
OUTPUT_DIR="../."
|
||||
if [ $# -eq 1 ]
|
||||
then
|
||||
OUTPUT_DIR=$1
|
||||
@@ -14,7 +14,7 @@ mkdir -p $OUTPUT_DIR
|
||||
read -p "(!) Enter the domain name for your bitwarden instance (ex. bitwarden.company.com): " DOMAIN
|
||||
read -p "(!) Do you want to use Let's Encrypt to generate a free SSL certificate? (y/n): " LETS_ENCRYPT
|
||||
|
||||
if [ $LETS_ENCRYPT == 'y' ]
|
||||
if [ $LETS_ENCRYPT == "y" ]
|
||||
then
|
||||
read -p "(!) Enter your email address (Let's Encrypt will send you certificate expiration reminders): " EMAIL
|
||||
mkdir -p $OUTPUT_DIR/letsencrypt/live/$DOMAIN
|
||||
|
||||
Reference in New Issue
Block a user