Comparing version 0.5.6 to 0.5.7
@@ -85,3 +85,3 @@ // pm2-monitor // Code name : God | ||
if(currentWorkerIndex === workerAmount){ | ||
cb() | ||
cb(); | ||
} | ||
@@ -91,3 +91,3 @@ }); | ||
oldWorker.disconnect(); | ||
}) | ||
}); | ||
})(God.clusters_db[id], workerAmount); | ||
@@ -94,0 +94,0 @@ } |
@@ -21,2 +21,4 @@ // | ||
console.log('Access on PM2 monit point %s', path); | ||
if (path == '/') { | ||
@@ -23,0 +25,0 @@ // Main monit route |
@@ -76,3 +76,2 @@ | ||
Satan.remoteWrapper = function() { | ||
if (process.env.SILENT == "true") { | ||
@@ -79,0 +78,0 @@ // |
{ | ||
"name": "pm2", | ||
"preferGlobal": "true", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"engines" : { | ||
@@ -27,3 +27,3 @@ "node" : ">=0.8" | ||
"homepage" : "https://github.com/Unitech/pm2", | ||
"description": "The modern CLI process manager for Node apps with native clusterization", | ||
"description": "Modern CLI process manager for Node apps with a builtin load-balancer.", | ||
"main": "index.js", | ||
@@ -30,0 +30,0 @@ "scripts": { |
![Monit](https://github.com/unitech/pm2/raw/master/pres/pm22.png) | ||
The modern and stable CLI process manager for Node apps with native clusterization, monitoring, hot code reload, startup scripts and much more. | ||
Modern CLI process manager for Node apps with a builtin load-balancer. | ||
Tested with Node v0.12, v0.11, v0.10, v0.9, v0.8 (https://travis-ci.org/Unitech/pm2). | ||
**Features** : monitoring, hot code reload, builtin load balancer, automatic startup script, resurrect/dump processes... | ||
Tested with Node v0.11, v0.10, v0.9, v0.8 (https://travis-ci.org/Unitech/pm2). | ||
Compatible CoffeeScript. | ||
Works on Linux & MacOS. | ||
[![NPM](https://nodei.co/npm/pm2.png)](https://nodei.co/npm/pm2/) | ||
[![NPM](https://nodei.co/npm/pm2.png?downloads=true)](https://nodei.co/npm/pm2.png?downloads=true) | ||
@@ -17,2 +19,4 @@ [![Build Status](https://travis-ci.org/Unitech/pm2.png)](https://travis-ci.org/Unitech/pm2) | ||
<a href="http://flattr.com/thing/1490051/Unitechpm2-on-GitHub" target="_blank"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a> | ||
# Readme Contents | ||
@@ -36,2 +40,3 @@ | ||
- [Launching the tests](#a14) | ||
- [They talk about it](#a20) | ||
- [License](#a15) | ||
@@ -126,3 +131,3 @@ | ||
<a name="a5"/> | ||
## Updating pm2 and resurecting process | ||
## Updating pm2 and resurrecting process | ||
@@ -132,3 +137,3 @@ ```bash | ||
$ npm install -g pm2@latest | ||
$ pm2 kill ; pm2 resurect | ||
$ pm2 kill ; pm2 resurrect | ||
``` | ||
@@ -248,2 +253,11 @@ | ||
<a name="a20"/> | ||
# They talk about it | ||
- https://coderwall.com/p/igdqyw | ||
- http://revdancatt.com/2013/09/17/node-day-1-getting-the-server-installing-node-and-pm2/ | ||
- https://medium.com/tech-talk/e7c0b0e5ce3c | ||
- http://devo.ps/blog/2013/06/26/goodbye-node-forever-hello-pm2.html | ||
# MISC | ||
@@ -250,0 +264,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
479780
63
1477
318