mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
[Docker] Make sure lightningd receive SIGTERM
In conjunction to https://github.com/ElementsProject/lightning/pull/2172 this fix https://github.com/ElementsProject/lightning/issues/2074 if EXPOSE_TCP is false (which is the case in production) More info https://github.com/ElementsProject/lightning/pull/2172#issuecomment-447727668
This commit is contained in:
parent
b155dbb316
commit
f9f4ed8e11
@ -15,5 +15,5 @@ if [ "$EXPOSE_TCP" == "true" ]; then
|
||||
socat "TCP4-listen:$LIGHTNINGD_RPC_PORT,fork,reuseaddr" "UNIX-CONNECT:$LIGHTNINGD_DATA/lightning-rpc" &
|
||||
fg %-
|
||||
else
|
||||
lightningd "$@"
|
||||
exec lightningd "$@"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user