2pid
v.1.0.1
Working with PID file
Install
npm --save install 2pid
Usage Example
cat index.js
var Pid = ; var PID_FILE = '/tmp/myapp.pid';var pid = PID_FILE; ifpidstatus == 'runned' throw 'application already running'; console; //started pid; console; //stopped
Change Log
Created by
Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua