Skip to content

Commit

Permalink
[api] Add stop lifecycle script
Browse files Browse the repository at this point in the history
Ref nodejitsu/nodejitsu#340.
  • Loading branch information
mmalecki committed Jul 25, 2013
1 parent f7902f9 commit 62efcd3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/quill/composer/lifecycle.js
Expand Up @@ -176,6 +176,19 @@ exports.start = function (systems, callback) {
exports.run('start', systems, callback);
};

//
// ### function stop (systems, callback)
// #### @systems {Array} Systems to run `stop` lifecycle script for.
// #### @callback {function} Continuation to respond to when complete.
//
// Executes the `stop` lifecycle script against the target `systems`
// on the current machine.
//
exports.stop = function (systems, callback) {
exports.run('stop', systems, callback);
};


//
// ### function update (systems, callback)
// #### @systems {Array} Systems to run update lifecycle script for.
Expand Down

0 comments on commit 62efcd3

Please sign in to comment.