From 53879ed79a3605b21880ab4aabc624d57574bc23 Mon Sep 17 00:00:00 2001 From: liudongqi Date: Wed, 4 Sep 2024 00:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 75ebe18..0491e43 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,6 @@ -#!/bin/sh +#!/bin/bash APP_NAME="qry-python-js" +source /usr/share/nvm/init-nvm.sh nvm use 20 if pm2 status | grep -q "$APP_NAME.*online"; then echo "Application $APP_NAME is running."