From f8eec860358ac29f40f6e50058b1c59f886e9905 Mon Sep 17 00:00:00 2001 From: Kevin Reeuwijk Date: Wed, 28 Aug 2024 23:05:46 +0200 Subject: [PATCH] Disable postgresql by default (#261) 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