Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(dev): make personhog-etcd-init wait for etcd (#120515)

Aleksander Błaszkiewicz5ba7d7bb63e1
diff --git a/bin/mprocs.yaml b/bin/mprocs.yaml
index 5e17f13d9a17..0b8aab85a996 100755
--- a/bin/mprocs.yaml
+++ b/bin/mprocs.yaml
@@ -493,7 +493,7 @@ procs:
personhog-etcd-init:
shell: |-
- bin/wait-for-docker && \
+ bin/wait-for-docker --only etcd && \
docker exec posthog-etcd-1 etcdctl put /personhog/config/total_partitions 4 && \
echo 'etcd init complete'
capability: personhog