Sha256: 2b15ee371a5f27301415784854fb90dd15bc651e37f13e4aefc2c331443e614a
Contents?: true
Size: 727 Bytes
Versions: 1
Compression:
Stored size: 727 Bytes
Contents
namespace :subscriber do desc 'Start subscriber' task :start do on roles(:app) do within current_path do with rails_env: fetch(:rails_env) do execute :bundle, "exec rake subscriber:start" end end end end desc 'Stop subscriber' task :stop do on roles(:app) do within current_path do with rails_env: fetch(:rails_env) do execute :bundle, "exec rake subscriber:stop" end end end end desc 'Restart subscriber' task :restart do on roles(:app) do within current_path do with rails_env: fetch(:rails_env) do execute :bundle, "exec rake subscriber:restart" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-auth-subscriber-0.0.1 | lib/capistrano/tasks/subscriber.rake |