Restart services after deploy
This commit is contained in:
parent
6be30d2d7f
commit
3ff1eb5e90
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue