Skip to content

Commit

Permalink
fix pm2 save
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Nov 11, 2023
1 parent 646c86a commit d0d6277
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ _start() {
pushd ${SHELL_DIR}

sudo pm2 start server.js
sudo pm2 save

popd
}
Expand All @@ -101,6 +102,8 @@ _init() {
sudo npm install pm2 -g
fi

sudo pm2 startup

pushd ${SHELL_DIR}
git pull
npm run build
Expand Down

0 comments on commit d0d6277

Please sign in to comment.