Skip to content

Commit

Permalink
chore: replace local pm2 with global pm2
Browse files Browse the repository at this point in the history
  • Loading branch information
ly525 committed May 4, 2020
1 parent 341b0d7 commit d21296a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions luban-h5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
###
# @Author: ly525
# @Date: 2020-01-10 22:23:34
# @LastEditors : ly525
# @LastEditTime : 2020-01-24 22:02:16
# @LastEditors: ly525
# @LastEditTime: 2020-05-04 11:15:43
# @FilePath: /luban-h5/luban-h5.sh
# @Github: https://github.com/ly525/luban-h5
# @Description: Do not edit
Expand Down Expand Up @@ -101,12 +101,12 @@ luban_h5_init() {
}

luban_h5_start() {
cd back-end/h5-api && npx pm2 start --name luban-h5-service server.js
cd back-end/h5-api && pm2 start --name luban-h5-service server.js
cd ${cur_dir}
}

luban_h5_restart() {
cd back-end/h5-api && npx pm2 restart luban-h5-service
cd back-end/h5-api && pm2 restart luban-h5-service
cd ${cur_dir}
}

Expand All @@ -126,7 +126,7 @@ luban_h5_rebuild_editor() {
}

luban_h5_stop() {
cd back-end/h5-api && npx pm2 stop luban-h5-service
cd back-end/h5-api && pm2 stop luban-h5-service
cd ${cur_dir}
}

Expand Down

0 comments on commit d21296a

Please sign in to comment.