Module: Capistrano::DSL::FayePaths
- Defined in:
- lib/capistrano/dsl/faye_paths.rb
Instance Method Summary collapse
- #faye_default_config_file ⇒ Object
- #faye_default_pid_file ⇒ Object
- #faye_default_require ⇒ Object
- #faye_initd_file ⇒ Object
- #faye_log_dir ⇒ Object
- #faye_log_file ⇒ Object
- #faye_service ⇒ Object
Instance Method Details
#faye_default_config_file ⇒ Object
13 14 15 |
# File 'lib/capistrano/dsl/faye_paths.rb', line 13 def faye_default_config_file shared_path.join('config/faye.ru') end |
#faye_default_pid_file ⇒ Object
17 18 19 |
# File 'lib/capistrano/dsl/faye_paths.rb', line 17 def faye_default_pid_file shared_path.join('tmp/pids/faye.pid') end |
#faye_default_require ⇒ Object
21 22 23 |
# File 'lib/capistrano/dsl/faye_paths.rb', line 21 def faye_default_require current_path.join('config/environment') end |
#faye_initd_file ⇒ Object
9 10 11 |
# File 'lib/capistrano/dsl/faye_paths.rb', line 9 def faye_initd_file "/etc/init.d/#{faye_service}" end |
#faye_log_dir ⇒ Object
25 26 27 |
# File 'lib/capistrano/dsl/faye_paths.rb', line 25 def faye_log_dir shared_path.join('log') end |
#faye_log_file ⇒ Object
29 30 31 |
# File 'lib/capistrano/dsl/faye_paths.rb', line 29 def faye_log_file sidekiq_log_dir.join(fetch(:faye_log)) end |
#faye_service ⇒ Object
5 6 7 |
# File 'lib/capistrano/dsl/faye_paths.rb', line 5 def faye_service "faye_#{fetch(:app_config_name)}" end |