Skip to content

Commit

Permalink
Disable postgresql by default
Browse files Browse the repository at this point in the history
To ensure Stylus only starts at after reconfiguring it first
  • Loading branch information
kreeuwijk authored Aug 28, 2024
1 parent b9fb333 commit 3acf91a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]

# Disable psql by default, Stylus will enable it when it needs it
RUN systemctl disable postgresql
END

SAVE IMAGE --push $IMAGE_PATH
Expand Down

0 comments on commit 3acf91a

Please sign in to comment.