Skip to content

+ Add support for catching SIGTERM, to allow clean shutdown from docker#139

Merged
chrivers merged 1 commit intomasterfrom
chrivers/sigterm-handling
May 24, 2025
Merged

+ Add support for catching SIGTERM, to allow clean shutdown from docker#139
chrivers merged 1 commit intomasterfrom
chrivers/sigterm-handling

Conversation

@chrivers
Copy link
Copy Markdown
Owner

Since Bifrost is running as pid 1 in docker, we need to catch SIGTERM to perform clean shutdowns without waiting for docker timeout to stop the container.

For example, this makes the "stop" button in Home Assistant react quickly, and perform a clean shutdown.

@chrivers chrivers merged commit e24c18f into master May 24, 2025
1 check passed
@chrivers chrivers deleted the chrivers/sigterm-handling branch May 24, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant