Skip to content
Permalink
Browse files

[api] Add `stop` lifecycle script

Ref nodejitsu/nodejitsu#340.
  • Loading branch information...
mmalecki committed Jul 25, 2013
1 parent f7902f9 commit 62efcd37810959b2f69c22f6c99ae0ce35de6920
Showing with 13 additions and 0 deletions.
  1. +13 −0 lib/quill/composer/lifecycle.js
@@ -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.

0 comments on commit 62efcd3

Please sign in to comment.
You can’t perform that action at this time.