1.0.15 • Published 5 years ago
the-ps v1.0.15
the-ps
Process manager for the-framework
Installation
$ npm install the-ps --save
Usage
'use strict'
const thePS = require('the-ps').default
async function tryExample () {
const ps = thePS('var/my-process.pid')
// Terminate zombie and generate pid file
await ps.acquire()
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.