Skip to content

Commit

Permalink
Completely delete PM2 process.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsegura committed Aug 21, 2017
1 parent c0de9e2 commit 6708934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
on roles :all do
within deploy_to do
execute :pm2, 'stop', fetch(:pm2_config)
execute :pm2, 'delete', fetch(:pm2_config)
execute :pm2, 'restart', '--env', 'production', fetch(:pm2_config)
end
end
Expand Down

0 comments on commit 6708934

Please sign in to comment.