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
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ namespace :deploy do
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