Sha256: 3218c764b4ee4643aa2efe1744e71f0b5a5f6cc54098d61a1175cd3848ff59d0
Contents?: true
Size: 552 Bytes
Versions: 5
Compression:
Stored size: 552 Bytes
Contents
Capistrano::Configuration.instance.load do namespace :maily_herald do desc "Stop maily_herald" task :stop, roles: :app do run "cd #{current_path}; bundle exec maily_herald --stop" end desc "Start maily_herald" task :start, roles: :app do run "cd #{current_path}; RAILS_ENV=#{rails_env} bundle exec maily_herald --start" end desc "Restart maily_herald" task :restart, roles: :app do run "cd #{current_path}; RAILS_ENV=#{rails_env} bundle exec maily_herald --restart" end end after 'deploy', 'maily_herald:restart' end
Version data entries
5 entries across 5 versions & 1 rubygems