mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Branch Condition
This commit is contained in:
parent
630c8878d8
commit
00eca4df5e
1 changed files with 4 additions and 2 deletions
|
@ -133,9 +133,11 @@ class Certificate < ApplicationRecord
|
|||
|
||||
class << self
|
||||
def update_crl
|
||||
STDOUT << "#{Time.zone.now.utc} - Running crlupdater\n" unless Rails.env.test?
|
||||
start = "#{Time.zone.now.utc} - Running crlupdater\n"
|
||||
stop = "#{Time.zone.now.utc} - Finished running crlupdater\n"
|
||||
STDOUT << start unless Rails.env.test?
|
||||
system('/bin/bash', ENV['crl_updater_path'].to_s)
|
||||
STDOUT << "#{Time.zone.now.utc} - Finished running crlupdater\n" unless Rails.env.test?
|
||||
STDOUT << stop unless Rails.env.test?
|
||||
end
|
||||
|
||||
def parse_md_from_string(crt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue