Skip to content

Commit b876087

Browse files
committed
Pass parameters to lightnind
1 parent 2bd5bf1 commit b876087

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/docker-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fi
7070

7171
if [ "$EXPOSE_TCP" == "true" ]; then
7272
set -m
73-
lightningd &
73+
lightningd "$@" &
7474
echo "C-Lightning starting"
7575
while read -r i; do if [ "$i" = "lightning-rpc" ]; then break; fi; done \
7676
< <(inotifywait -e create,open --format '%f' --quiet "$LIGHTNINGD_DATA" --monitor)
@@ -80,5 +80,5 @@ if [ "$EXPOSE_TCP" == "true" ]; then
8080

8181
fg %-
8282
else
83-
lightningd
83+
lightningd "$@"
8484
fi

0 commit comments

Comments
 (0)