From dcea0461839d506eb217845492285a17bcc4efb6 Mon Sep 17 00:00:00 2001 From: dy Date: Thu, 14 Dec 2023 18:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E7=BD=91linux=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E4=B8=80=E9=94=AE=E6=9B=B4=E6=96=B0=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneKeyStartPm2.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 oneKeyStartPm2.sh diff --git a/oneKeyStartPm2.sh b/oneKeyStartPm2.sh new file mode 100644 index 0000000..63e4079 --- /dev/null +++ b/oneKeyStartPm2.sh @@ -0,0 +1,10 @@ + +git fetch --all && git reset --hard origin/dev && git pull + +npm run build_linux + +cp src/config.json dist/ + +pm2 del heijiao_msg_s0 + +pm2 start dist/js_pm2.config.js \ No newline at end of file