Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Use new non-deprecated API
  • Loading branch information
shicholas authored Dec 1, 2024
1 parent 0ee8bad commit ebc1a64
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ struct Application {
let service2 = FooService()

let serviceGroup = ServiceGroup(
services: [service1, service2],
configuration: .init(gracefulShutdownSignals: [.sigterm]),
logger: logger
configuration: .init(
services: [service1, service2],
gracefulShutdownSignals: [.sigterm],
logger: logger
)
)
try await serviceGroup.run()
}
Expand Down

0 comments on commit ebc1a64

Please sign in to comment.