mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
pm2 use fork mode
This commit is contained in:
parent
9ec34f7772
commit
65bf1b0ebf
2
Makefile
2
Makefile
@ -39,7 +39,7 @@ build:
|
||||
@./node_modules/loader/bin/build views .
|
||||
|
||||
start: install build
|
||||
@nohup ./node_modules/.bin/pm2 start app.js -i max --name "cnode" >> cnode.log 2>&1 &
|
||||
@nohup ./node_modules/.bin/pm2 start app.js -x -i max --name "cnode" >> cnode.log 2>&1 &
|
||||
|
||||
restart: install build
|
||||
@nohup ./node_modules/.bin/pm2 restart "cnode" >> cnode.log 2>&1 &
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user