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

15 lines
361 B
Ruby

# frozen_string_literal: true
server '138.197.0.6', roles: %w[web app db]
namespace :deploy do
after :published, :restart
desc 'Restart application services'
task :restart do
on roles(:app) do
execute :sudo, :systemctl, :restart, 'partynest-web.service'
execute :sudo, :systemctl, :restart, 'partynest-worker.service'
end
end
end