secure passwords
This commit is contained in:
1
commands
1
commands
@@ -28,6 +28,7 @@ case "$1" in
|
||||
mkdir -p "$SERVICE_ROOT" || dokku_log_fail "Unable to create service directory"
|
||||
password=$(openssl rand -hex 16)
|
||||
echo "$password" > "$SERVICE_ROOT/PASSWORD"
|
||||
chmod 640 "$SERVICE_ROOT/PASSWORD"
|
||||
touch "$LINKS_FILE"
|
||||
|
||||
dokku_log_info1 "Starting container"
|
||||
|
||||
Reference in New Issue
Block a user