Class: Redirus::Proxy
- Inherits:
-
Object
- Object
- Redirus::Proxy
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/redirus/proxy.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#perform(*params) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/redirus/proxy.rb', line 7 def perform(*params) perform_action(*params) restart_nginx rescue Errno::EACCES => e error('Error: Cannot write to config files - continuing', e) rescue Errno::ENOENT => e error('Error: Remove non existing config files - continuing', e) end |