From c4302f332d1eaaefe220d7e44cf9963852389533 Mon Sep 17 00:00:00 2001 From: Jeff Wong Date: Mon, 30 Sep 2024 00:26:57 -0700 Subject: [PATCH] DEV: remove create_db after running allows for standalone image to know to begin immediately without awaiting database in unicorn startup script --- templates/postgres.template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/postgres.template.yml b/templates/postgres.template.yml index d46c6cb1a..a7e3bcf45 100644 --- a/templates/postgres.template.yml +++ b/templates/postgres.template.yml @@ -265,5 +265,5 @@ run: cmd: # give db a few secs to start up - "sleep 5" - - /usr/local/bin/create_db + - /usr/local/bin/create_db && rm /usr/local/bin/create_db - "echo postgres installed!"