Skip to content

Commit

Permalink
fix: Set default value on startup command (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco authored Sep 12, 2023
1 parent affa1c0 commit 5de1266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Realtime.MixProject do
def project do
[
app: :realtime,
version: "2.22.10",
version: "2.22.11",
elixir: "~> 1.14.0",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down
2 changes: 1 addition & 1 deletion tailscale/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi

echo "Starting Realtime"

if [ "${AWS_EXECUTION_ENV}" = "AWS_ECS_FARGATE" ]; then
if [ "${AWS_EXECUTION_ENV:=none}" = "AWS_ECS_FARGATE" ]; then
echo "Running migrations"
sudo -E -u nobody /app/bin/migrate
fi
Expand Down

0 comments on commit 5de1266

Please sign in to comment.