UNPKG

guvnor

Version:

A node process manager that isn't spanners all the way down

32 lines (29 loc) 603 B
var AmpersandModel = require('ampersand-model') module.exports = AmpersandModel.extend({ props: { id: 'string', name: 'string', user: 'string', url: 'string', ref: 'string', refs: ['array', true, function () { return [] }], execArgv: ['array', true, function () { return [] }], argv: ['array', true, function () { return [] }], env: ['object', true, function () { return {} }], group: 'string', debug: 'boolean', instances: 'number' }, session: { isRemoving: 'boolean', isStarting: 'boolean' } })