According to the runit documentation, a newly-created service will automatically be started. However, this will cause an issue where PostgreSQL may start and retry continuously until a
postgresql.conf shows up. The problem is that right after the
initdb is run, a default config is created, which uses the wrong port. The fix here is to disable the service when the system has not yet been bootstrapped so that the service can be started when the configuration is actually ready.
Closes #2196 (closed)