лаба на 4
This commit is contained in:
@@ -5,6 +5,7 @@ cd "$(dirname "$0")/.."
|
||||
|
||||
mkdir -p secrets
|
||||
chmod 700 secrets
|
||||
umask 077
|
||||
|
||||
if [[ ! -f secrets/postgres_password ]]; then
|
||||
python3 -c 'import secrets; print(secrets.token_hex(24))' > secrets/postgres_password
|
||||
|
||||
Reference in New Issue
Block a user