You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SIGTERM is ignored while a container event blocks #560
listen() reads SIGTERM in the same select loop that calls handleContainer(). If a Docker or D-Bus call in handleContainer() blocks, ldddns ignores SIGTERM until systemd kills it after 30 seconds. #558 fixes the known cause, but any other blocking call has the same effect.
Handle the signal in its own goroutine, for example with signal.NotifyContext(), and pass the context to the Docker calls. The go-avahi calls take no context, so also exit after a timeout if the loop does not return.
Activity