Skip to content

Commit

Permalink
Merge pull request #6433 from dimagi/gh/gunicorn-logs/update-pid-path
Browse files Browse the repository at this point in the history
Update gunicorn.pid path in logrotate config
  • Loading branch information
AmitPhulera authored Nov 7, 2024
2 parents 273e7d5 + aecff0c commit adeb657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commcare_cloud/ansible/deploy_webworker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- notifempty
- sharedscripts
scripts:
postrotate: "[ -s /tmp/gunicorn.pid ] && kill -USR1 `cat /tmp/gunicorn.pid`"
postrotate: "[ -s {{ service_home }}/gunicorn.pid ] && kill -USR1 `cat {{ service_home }}/gunicorn.pid`"

# There used to be some code here for updating workers one by one
# but it's not functionally useful until we're off fab deploy and makes things
Expand Down

0 comments on commit adeb657

Please sign in to comment.