diff --git a/src/commcare_cloud/ansible/deploy_webworker.yml b/src/commcare_cloud/ansible/deploy_webworker.yml index 9d8b528953..b41045764f 100644 --- a/src/commcare_cloud/ansible/deploy_webworker.yml +++ b/src/commcare_cloud/ansible/deploy_webworker.yml @@ -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