2.0.0 • Published 9 years ago
fleetctl-stop v2.0.0
fleetctl-stop
Stop a fleet unit and retry on failure.
Installation
$ npm install fleetctl-stop --save
Usage
const stopUnit = require('fleetctl-stop');
// promises
stopUnit('ping').then(function () {
// done
});
// generators
yield stopUnit('ping');
Tests
$ make test
License
fleetctl-stop is released under the MIT license.