1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-01 21:27:22 +02:00
This commit is contained in:
downtownallday
2024-07-23 07:20:16 -04:00
3 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ hide_output $venv/bin/python3 -m pip install --upgrade \
# Create a backup directory and a random key for encrypting backups.
mkdir -p "$STORAGE_ROOT/backup"
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