修改脚本

master
刘东琪 9 months ago
parent f0ebe008cc
commit 53879ed79a
  1. 3
      deploy.sh

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/bash
APP_NAME="qry-python-js" APP_NAME="qry-python-js"
source /usr/share/nvm/init-nvm.sh
nvm use 20 nvm use 20
if pm2 status | grep -q "$APP_NAME.*online"; then if pm2 status | grep -q "$APP_NAME.*online"; then
echo "Application $APP_NAME is running." echo "Application $APP_NAME is running."

Loading…
Cancel
Save