Skip to content

Commit

Permalink
forever -> pm2, #90
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 26, 2014
1 parent 8b93380 commit 12c13a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"node": ">=0.10.0"
},
"scripts": {
"start": "./node_modules/forever/bin/forever start app.js && nohup ./node_modules/elasticsearch-package/bin/elasticsearch -p .spmjspid >/dev/null 2>&1 &",
"stop": "./node_modules/forever/bin/forever stop app.js && kill -9 `cat .spmjspid`",
"start": "./node_modules/pm2/bin/pm2 start app.js --name spmjs && nohup ./node_modules/elasticsearch-package/bin/elasticsearch -p .spmjspid >/dev/null 2>&1 &",
"stop": "./node_modules/pm2/bin/pm2 stop spmjs && kill -9 `cat .spmjspid`",
"reindex": "node elastic/reindexPackages.js"
},
"dependencies": {
Expand Down Expand Up @@ -67,6 +67,6 @@
"tempfile": "^1.1.0"
},
"devDependencies": {
"forever": "*"
"pm2": "*"
}
}

0 comments on commit 12c13a9

Please sign in to comment.