From 1a48bdc4d39e967870945d04e3697e777785e1d6 Mon Sep 17 00:00:00 2001 From: Glen Date: Mon, 1 Nov 2021 22:55:37 -0700 Subject: [PATCH] Update start.sh --- scripts/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 72c02769..c081f8ff 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,6 +1,6 @@ #!/bin/bash cd /home/ubuntu/Winner-s-Record/server -export INSTART=instart +export ISIN=$(aws ssm get-parameters --region ap-northeast-2 --names ISIN --query Parameters[0].Value | sed 's/"//g') -authbind --deep pm2 start app.js \ No newline at end of file +authbind --deep pm2 start app.js