Sha256: 811871b020fb7c6904d35b07ef5ca2ee0106ddd86fa92db2a206ae45c36ba11e
Contents?: true
Size: 509 Bytes
Versions: 19
Compression:
Stored size: 509 Bytes
Contents
require 'capistrano' if Capistrano::Configuration.instance Capistrano::Configuration.instance.load do namespace :instrumental do desc "restart daemonized server; also starts up if not running" task :restart_instrument_server do run "cd #{current_path} && bundle exec instrument_server -k #{instrumental_key} -d restart" end end after "deploy", "instrumental:restart_instrument_server" after "deploy:migrations", "instrumental:restart_instrument_server" end end
Version data entries
19 entries across 19 versions & 1 rubygems