Skip to content

Commit

Permalink
fix: graceful reload fix with which n and which pm2
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jul 10, 2023
1 parent 7f6c16d commit 72e36f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/playbooks/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
name: "reload"
hour: "*/4"
minute: "0"
job: "pm2 reload all"
job: "/home/deploy/n/bin/node /home/deploy/n/bin/pm2 reload all > /dev/null 2>&1"
- name: Check if pnpm exists
stat:
path: /home/deploy/n/bin/pnpm
Expand Down

0 comments on commit 72e36f1

Please sign in to comment.