Module: Kamal::Commands::App::ErrorPages
- Included in:
- Kamal::Commands::App
- Defined in:
- lib/kamal/commands/app/error_pages.rb
Instance Method Summary collapse
Instance Method Details
#clean_up_error_pages ⇒ Object
6 7 8 |
# File 'lib/kamal/commands/app/error_pages.rb', line 6 def clean_up_error_pages [ :find, config.proxy_boot.error_pages_directory, "-mindepth", "1", "-maxdepth", "1", "!", "-name", KAMAL.config.version, "-exec", "rm", "-rf", "{} +" ] end |
#create_error_pages_directory ⇒ Object
2 3 4 |
# File 'lib/kamal/commands/app/error_pages.rb', line 2 def create_error_pages_directory make_directory(config.proxy_boot.error_pages_directory) end |