From 59234dcdfaffed38fe71eac5b2e55fca92b1750d Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Sun, 5 Jan 2025 16:43:21 -0500 Subject: [PATCH] fix litestream entrypoint --- lib/generators/dockerfile_generator.rb | 2 +- test/results/litestream/fly.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/generators/dockerfile_generator.rb b/lib/generators/dockerfile_generator.rb index b95ed6d..1250d1d 100644 --- a/lib/generators/dockerfile_generator.rb +++ b/lib/generators/dockerfile_generator.rb @@ -1518,7 +1518,7 @@ def fly_make_toml end if using_litestream? && list["app"] - list["app"] = "./script/litestream #{list["app"]}" + list["app"] = "./bin/rake litestream:run #{list["app"]}" end if toml.include? "[processes]" diff --git a/test/results/litestream/fly.toml b/test/results/litestream/fly.toml index 60b5837..4236065 100644 --- a/test/results/litestream/fly.toml +++ b/test/results/litestream/fly.toml @@ -3,7 +3,7 @@ PORT = "8080" [processes] - app = "./script/litestream ./bin/rails server" + app = "./bin/rake litestream:run ./bin/rails server" [mounts] source = "data"