From cff083f998e962db6dc383862b3cb56d65bfedcb Mon Sep 17 00:00:00 2001 From: Ishan Date: Fri, 12 Jul 2024 16:05:38 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Add=20pm2=20app=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/runMainnet.sh | 2 +- scripts/runSepolia.sh | 2 +- scripts/runSepoliaSimulationMode.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runMainnet.sh b/scripts/runMainnet.sh index 83c618c38..cbf326e39 100644 --- a/scripts/runMainnet.sh +++ b/scripts/runMainnet.sh @@ -51,4 +51,4 @@ echo "All env vars are set." # PM2 runs on the fall back path when using CodeDeploy agent and we can run with the given fall back path export PM2_HOME=/etc/.pm2 sudo -E pm2 delete all # Delete any running app -sudo -E pm2 start "node ${app_dir}/dist/index.js --relayer --wallet awskms --keys "relayerKey"" \ No newline at end of file +sudo -E pm2 start --name "lisk-across-relayer" "node ${app_dir}/dist/index.js --relayer --wallet awskms --keys "relayerKey"" \ No newline at end of file diff --git a/scripts/runSepolia.sh b/scripts/runSepolia.sh index f32f71e2c..398ad98d0 100644 --- a/scripts/runSepolia.sh +++ b/scripts/runSepolia.sh @@ -53,4 +53,4 @@ echo "All env vars are set." # PM2 runs on the fall back path when using CodeDeploy agent and we can run with the given fall back path export PM2_HOME=/etc/.pm2 sudo -E pm2 delete all # Delete any running app -sudo -E pm2 start "node ${app_dir}/dist/index.js --relayer --wallet awskms --keys "relayerKey"" \ No newline at end of file +sudo -E pm2 start --name "lisk-across-relayer" "node ${app_dir}/dist/index.js --relayer --wallet awskms --keys "relayerKey"" \ No newline at end of file diff --git a/scripts/runSepoliaSimulationMode.sh b/scripts/runSepoliaSimulationMode.sh index de8d9d2e3..10557b743 100644 --- a/scripts/runSepoliaSimulationMode.sh +++ b/scripts/runSepoliaSimulationMode.sh @@ -53,4 +53,4 @@ echo "All env vars are set." # PM2 runs on the fall back path when using CodeDeploy agent and we can run with the given fall back path export PM2_HOME=/etc/.pm2 sudo -E pm2 delete all # Delete any running app -sudo -E pm2 start "node ${app_dir}/dist/index.js --relayer --wallet awskms --keys "relayerKey"" \ No newline at end of file +sudo -E pm2 start --name "lisk-across-relayer" "node ${app_dir}/dist/index.js --relayer --wallet awskms --keys "relayerKey"" \ No newline at end of file