Skip to content

Commit

Permalink
fix litestream entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Jan 5, 2025
1 parent 8d2aad2 commit 59234dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/generators/dockerfile_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down
2 changes: 1 addition & 1 deletion test/results/litestream/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PORT = "8080"

[processes]
app = "./script/litestream ./bin/rails server"
app = "./bin/rake litestream:run ./bin/rails server"

[mounts]
source = "data"
Expand Down

0 comments on commit 59234dc

Please sign in to comment.