From 02ac6091f4947ccfb80e6bcad0e6839a7570e088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= <2291200076@qq.com> Date: Mon, 17 Oct 2022 13:48:59 +0800 Subject: [PATCH] =?UTF-8?q?weibo-hotband-bot=20=E6=94=B9=E4=B8=BA=20hotban?= =?UTF-8?q?d-bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hotband/README.md | 6 +++--- hotband/pm2 restart.bat | 2 +- hotband/pm2 restart.sh | 2 +- hotband/pm2 start.bat | 2 +- hotband/pm2 start.sh | 2 +- hotband/pm2 stop.bat | 4 ++-- hotband/pm2 stop.sh | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hotband/README.md b/hotband/README.md index 28524b5..1a77f97 100644 --- a/hotband/README.md +++ b/hotband/README.md @@ -83,7 +83,7 @@ npm i # node index.js # 使用 pm2 -# pm2 start index.js --name weibo-hotband-bot +# pm2 start index.js --name hotband-bot ``` 5. 停止项目 @@ -92,8 +92,8 @@ npm i # 使用 node index.js 命令直接运行的项目可以通过 `Ctrl + C` 停止 # 使用 pm2 运行的可以使用以下两行命令来停止和从列表中删除项目 -# pm2 stop weibo-hotband-bot -# pm2 delete weibo-hotband-bot +# pm2 stop hotband-bot +# pm2 delete hotband-bot ``` diff --git a/hotband/pm2 restart.bat b/hotband/pm2 restart.bat index 9e9eb8b..876af02 100644 --- a/hotband/pm2 restart.bat +++ b/hotband/pm2 restart.bat @@ -1 +1 @@ -pm2 restart weibo-hotband-bot \ No newline at end of file +pm2 restart hotband-bot \ No newline at end of file diff --git a/hotband/pm2 restart.sh b/hotband/pm2 restart.sh index 9e9eb8b..876af02 100644 --- a/hotband/pm2 restart.sh +++ b/hotband/pm2 restart.sh @@ -1 +1 @@ -pm2 restart weibo-hotband-bot \ No newline at end of file +pm2 restart hotband-bot \ No newline at end of file diff --git a/hotband/pm2 start.bat b/hotband/pm2 start.bat index bdbca0d..f114276 100644 --- a/hotband/pm2 start.bat +++ b/hotband/pm2 start.bat @@ -1 +1 @@ -pm2 start index.js --name weibo-hotband-bot \ No newline at end of file +pm2 start index.js --name hotband-bot \ No newline at end of file diff --git a/hotband/pm2 start.sh b/hotband/pm2 start.sh index bdbca0d..f114276 100644 --- a/hotband/pm2 start.sh +++ b/hotband/pm2 start.sh @@ -1 +1 @@ -pm2 start index.js --name weibo-hotband-bot \ No newline at end of file +pm2 start index.js --name hotband-bot \ No newline at end of file diff --git a/hotband/pm2 stop.bat b/hotband/pm2 stop.bat index b0189d9..56a1cfe 100644 --- a/hotband/pm2 stop.bat +++ b/hotband/pm2 stop.bat @@ -1,2 +1,2 @@ -pm2 stop weibo-hotband-bot -pm2 delete weibo-hotband-bot \ No newline at end of file +pm2 stop hotband-bot +pm2 delete hotband-bot \ No newline at end of file diff --git a/hotband/pm2 stop.sh b/hotband/pm2 stop.sh index b0189d9..56a1cfe 100644 --- a/hotband/pm2 stop.sh +++ b/hotband/pm2 stop.sh @@ -1,2 +1,2 @@ -pm2 stop weibo-hotband-bot -pm2 delete weibo-hotband-bot \ No newline at end of file +pm2 stop hotband-bot +pm2 delete hotband-bot \ No newline at end of file