mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
force usage of bash command with args
This commit is contained in:
parent
0e686c5af5
commit
630c8878d8
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class Certificate < ApplicationRecord
|
|||
class << self
|
||||
def update_crl
|
||||
STDOUT << "#{Time.zone.now.utc} - Running crlupdater\n" unless Rails.env.test?
|
||||
system "#{ENV['crl_updater_path']}"
|
||||
system('/bin/bash', ENV['crl_updater_path'].to_s)
|
||||
STDOUT << "#{Time.zone.now.utc} - Finished running crlupdater\n" unless Rails.env.test?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue