Skip to content

pass TERM signal to underlying process and improve shutdown#844

Open
lcse66 wants to merge 1 commit intogotthardp:masterfrom
lcse66:patch-1
Open

pass TERM signal to underlying process and improve shutdown#844
lcse66 wants to merge 1 commit intogotthardp:masterfrom
lcse66:patch-1

Conversation

@lcse66
Copy link

@lcse66 lcse66 commented Nov 25, 2023

The lorawan-server script doesn't forward TERM signal to underlying process.

Normally the underlying process must be started from the starting script with "exec", but only if it is a binary executable (which "erl" is not; from tests carried out it works, but two "zombie" processes remain active). In this modification, a trap forwards the term signal.

In solution to #843

The lorawan-server script doesn't forward TERM signal to underlying process. 

Normally the underlying process must be started from the starting script with "exec", but only if it is a binary executable (which "erl" is not; from tests carried out it works, but two "zombie" processes remain active). In this modification, a trap is activated that forwards the term signal.

In solution to gotthardp#843 issue
@marcniedersachsen
Copy link

I am using the latest LoRaWAN server in a docker container. How can I install this patch to prevent the mqtt broker "badarg" issue after restarting ?

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.

2 participants