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