From 3acf91af3f02ff36d3b49e06bc5d4dff8a862a85 Mon Sep 17 00:00:00 2001 From: Kevin Reeuwijk Date: Wed, 28 Aug 2024 22:41:57 +0200 Subject: [PATCH] Disable postgresql by default To ensure Stylus only starts at after reconfiguring it first --- Earthfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Earthfile b/Earthfile index dfa3869..7e73aa3 100644 --- a/Earthfile +++ b/Earthfile @@ -653,6 +653,9 @@ provider-image: # Ensure psql waits for the network to be online RUN sed -i 's/After=network.target/After=network-online.target/' /lib/systemd/system/postgresql@.service + + # Disable psql by default, Stylus will enable it when it needs it + RUN systemctl disable postgresql END SAVE IMAGE --push $IMAGE_PATH