0.01
No commit activity in last 3 years
No release in over 3 years
Crono integration for Capistrano
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.0.0
>= 0
 Project Readme

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_pid, -> { File.join(shared_path, 'tmp', 'pids', 'crono.pid') }
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.