From 44769d6e4440fd1ae57dbfafeb31fc3d4f922555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20F=C3=A9lix?= Date: Thu, 17 Oct 2019 15:31:55 +0100 Subject: [PATCH] fix: add photocard, frontcamera dirs to json conf --- bin/cert-gen.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/cert-gen.sh b/bin/cert-gen.sh index 2be643ae..b64c042f 100755 --- a/bin/cert-gen.sh +++ b/bin/cert-gen.sh @@ -13,6 +13,8 @@ LAMASSU_CA_PATH=$PWD/Lamassu_CA.pem MIGRATE_STATE_PATH=$CONFIG_DIR/.migrate POSTGRES_PASS=postgres123 OFAC_DATA_DIR=$CONFIG_DIR/ofac +IDPHOTOCARD_DIR=$CONFIG_DIR/idphotocard +FRONTCAMERA_DIR=$CONFIG_DIR/frontcamera mkdir -p $CERT_DIR mkdir -p $CONFIG_DIR >> $LOG_FILE 2>&1 @@ -109,7 +111,9 @@ cat < $CONFIG_DIR/lamassu.json "name": "cons_advanced", "url": "https://www.treasury.gov/ofac/downloads/sanctions/1.0/cons_advanced.xml" } - ] + ], + "idPhotoCardDir": "$IDPHOTOCARD_DIR", + "frontCameraDir": "$FRONTCAMERA_DIR" } EOF