Skip to content

timych/capistrano-crono

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capistrano-crono

Gem Version

Crono integration for Capistrano

Requirements

Capistrano 3.*

Installation

Add this line to your application's Gemfile:

gem 'capistrano-crono', group: :development

And then execute:

$ bundle

Usage

Add the following to your Capfile

# Capfile
require 'capistrano/crono'

Configurable options, with defaults:

# deploy.rb
set :crono_piddir, -> { File.join(shared_path, 'tmp', 'pids') }
set :crono_env, -> { fetch(:rack_env, fetch(:rails_env, fetch(:stage))) }
set :crono_log, -> { File.join(shared_path, 'log', 'crono.log') }
set :crono_role, -> { :app }

Support

Feel free to create issues

License

Please see LICENSE for licensing details.

About

Crono integration for Capistrano

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%