consul-elected
Run process only when elected by Consul
Last updated 5 years ago by ewr .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install consul-elected 
SYNC missed versions from official npm registry.

consul-elected

WIP

Yet another process manager, but integrated with Consul to use leader election and attempt to make sure only one instance gets run at a time.

Usage: consul-elected -s [server:port] -k [key] -c [command]

Command will be run only if lock is acquired on the key.

Current Tags

  • 0.0.8                                ...           latest (5 years ago)

8 Versions

  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |