Skip to content

Commit

Permalink
Merge branch 'main' into feature/skip-config-without-database
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenmanz authored Mar 2, 2023
2 parents a4b33ba + c6983cb commit 705c927
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ let
entryScript = pkgs.writeScript "entryScript" ''
set -euo pipefail
if [ ! -f $DEVENV_PROFILE/bin/mysqladmin ]; then
echo -e "mysqladmin missing, skips further entryscript processing"
${pkgs.coreutils}/bin/sleep infinity
fi
while ! $DEVENV_PROFILE/bin/mysqladmin ping --silent; do
${pkgs.coreutils}/bin/sleep 1
done
Expand Down

0 comments on commit 705c927

Please sign in to comment.