diff options
author | Azul <azul@riseup.net> | 2012-09-20 13:02:18 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-09-20 13:02:18 +0200 |
commit | 15354c284879c734ca9bd87450d715dcdbe8aec2 (patch) | |
tree | 27da8c877ca69b74770f48db109f851798a2c465 /leap_ca.rb | |
parent | e8353821b846e676b85736d748cb923d8854884e (diff) |
capified and moved bin to own dir
Diffstat (limited to 'leap_ca.rb')
-rwxr-xr-x | leap_ca.rb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/leap_ca.rb b/leap_ca.rb deleted file mode 100755 index baefff2..0000000 --- a/leap_ca.rb +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/ruby - -require 'rubygems' -require 'daemons' -require 'yajl/http_stream' - -require 'lib/cert' -require 'lib/couch_stream' -require 'lib/couch_changes' -require 'lib/pool' - - -puts "Tracking #{Cert.database.root}" -couch = CouchStream.new(Cert.database.root) -changes = CouchChanges.new(couch) -pool = LeapCA::Pool.new(File.expand_path("../config/pool.yml", __FILE__)) -pool.fill -Daemons.run_proc('leap_ca.rb') do - changes.follow do |hash| - p hash - if hash[:deleted] - pool.fill - end - end -end |