1
0
Fork 0

Restart services after deploy

This commit is contained in:
Alex Kotov 2019-01-31 06:15:11 +05:00
parent 6be30d2d7f
commit 3ff1eb5e90
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -8,6 +8,7 @@ namespace :deploy do
desc 'Restart application services' desc 'Restart application services'
task :restart do task :restart do
on roles(:app) do on roles(:app) do
execute :sudo, :systemctl, :restart, 'partynest-web.service'
execute :sudo, :systemctl, :restart, 'partynest-worker.service' execute :sudo, :systemctl, :restart, 'partynest-worker.service'
end end
end end