Skip to content

Commit 7b9590e

Browse files
author
Nestor Diaz
committed
Kill node process on each deployment
1 parent b110d42 commit 7b9590e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/deploy_steps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tar xzf $artifact
1919
npm install
2020

2121
# Stop current executions
22-
npx forever stopall
22+
pkill -f node
2323

2424
# Start fresh execution
2525
NODE_ENV=production npx forever start -l $homeDir/node/logs/forever.log --append server/app.js

0 commit comments

Comments
 (0)