management.sh (mailinabox-57) | : | management.sh (mailinabox-57a) | ||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
# Upgrade pip because the Ubuntu-packaged version is out of date. | # Upgrade pip because the Ubuntu-packaged version is out of date. | |||
hide_output $venv/bin/pip install --upgrade pip | hide_output $venv/bin/pip install --upgrade pip | |||
# Install other Python 3 packages used by the management daemon. | # Install other Python 3 packages used by the management daemon. | |||
# The first line is the packages that Josh maintains himself! | # The first line is the packages that Josh maintains himself! | |||
# NOTE: email_validator is repeated in setup/questions.sh, so please keep the ve rsions synced. | # NOTE: email_validator is repeated in setup/questions.sh, so please keep the ve rsions synced. | |||
hide_output $venv/bin/pip install --upgrade \ | hide_output $venv/bin/pip install --upgrade \ | |||
rtyaml "email_validator>=1.0.0" "exclusiveprocess" \ | rtyaml "email_validator>=1.0.0" "exclusiveprocess" \ | |||
flask dnspython python-dateutil expiringdict \ | flask dnspython python-dateutil expiringdict \ | |||
qrcode[pil] pyotp \ | qrcode[pil] pyotp \ | |||
"idna>=2.0.0" "cryptography==2.2.2" boto psutil postfix-mta-sts-resolver | "idna>=2.0.0" "cryptography==2.2.2" psutil postfix-mta-sts-resolver \ | |||
b2sdk | b2sdk==1.14.1 boto | |||
# CONFIGURATION | # CONFIGURATION | |||
# Create a backup directory and a random key for encrypting backups. | # Create a backup directory and a random key for encrypting backups. | |||
mkdir -p $STORAGE_ROOT/backup | mkdir -p $STORAGE_ROOT/backup | |||
if [ ! -f $STORAGE_ROOT/backup/secret_key.txt ]; then | if [ ! -f $STORAGE_ROOT/backup/secret_key.txt ]; then | |||
$(umask 077; openssl rand -base64 2048 > $STORAGE_ROOT/backup/secret_key. txt) | $(umask 077; openssl rand -base64 2048 > $STORAGE_ROOT/backup/secret_key. txt) | |||
fi | fi | |||
# Download jQuery and Bootstrap local files | # Download jQuery and Bootstrap local files | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |