Skip to content

Commit

Permalink
Update guide to add load :rack, :supervisor (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam12 committed Apr 24, 2024
1 parent 2379de9 commit 8ea5916
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guides/deployment/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Here is a basic example which hosts a rack application using :
#!/usr/bin/env falcon-host
# frozen_string_literal: true

load :rack, :supervisor

hostname = File.basename(__dir__)
service hostname do
include Falcon::Environment::Rack
Expand All @@ -46,6 +48,8 @@ The environment configuration is defined in the `Falcon::Environment` module. Th
#!/usr/bin/env falcon-host
# frozen_string_literal: true

load :rack, :supervisor

hostname = File.basename(__dir__)
service hostname do
include Falcon::Environment::Rack
Expand Down

0 comments on commit 8ea5916

Please sign in to comment.