diff options
-rwxr-xr-x | bin/leap_ca | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/leap_ca b/bin/leap_ca index 0234c15..13c0691 100755 --- a/bin/leap_ca +++ b/bin/leap_ca @@ -39,6 +39,14 @@ if ARGV.grep(/--version/).any? exit(0) end +# --fill-pool will fill the pool and then exit +if ARGV.grep(/--fill-pool/).any? + require 'leap_ca' + pool = LeapCA::Pool.new(:size => LeapCA::Config.max_pool_size) + pool.fill + exit(0) +end + # # Start the daemon # |