1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/deploy/production.rb

16 lines
361 B
Ruby
Raw Normal View History

2018-11-28 13:41:36 -05:00
# frozen_string_literal: true
2018-12-08 15:28:48 -05:00
server '138.197.0.6', roles: %w[web app db]
2018-12-08 16:33:32 -05:00
namespace :deploy do
after :published, :restart
desc 'Restart application services'
task :restart do
on roles(:app) do
2019-01-30 20:15:11 -05:00
execute :sudo, :systemctl, :restart, 'partynest-web.service'
2018-12-08 16:33:32 -05:00
execute :sudo, :systemctl, :restart, 'partynest-worker.service'
end
end
end