Skip to content

Commit

Permalink
Use init process for listener
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Feb 8, 2023
1 parent de740d5 commit 1b5649b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions multidim-interop/src/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ function buildSpec(containerImages: { [key: string]: string }, { name, dialerID,
}
},
listener: {
// Add init process to be PID 1 to proxy signals. Rust doesn't
// handle SIGINT without this
init: true,
image: containerImages[listenerID],
depends_on: ["redis"],
environment: {
Expand Down

0 comments on commit 1b5649b

Please sign in to comment.