mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-10 17:53:09 +00:00
debugging
This commit is contained in:
parent
036512e84b
commit
9d4eb2a632
@ -6,6 +6,9 @@
|
||||
echo "docker-entrypoint.sh"
|
||||
echo "Using address: $addrs1"
|
||||
export WAKU_LIGHTPUSH_NODE="$addrs1"
|
||||
echo "Num Args: $#"
|
||||
echo "Args: $@"
|
||||
|
||||
|
||||
# Check if address file exists and source it
|
||||
# if [ -f "/etc/addrs/addrs.env" ]; then
|
||||
@ -19,6 +22,8 @@ export WAKU_LIGHTPUSH_NODE="$addrs1"
|
||||
# fi
|
||||
# fi
|
||||
|
||||
echo "WAKU_LIGHTPUSH_NODE=$addrs1"
|
||||
|
||||
# Parse command line arguments
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
@ -43,7 +48,8 @@ while [[ $# -gt 0 ]]; do
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
# Unknown argument, keep it for the main command
|
||||
# Unknown argument, notify user and keep it for the main command
|
||||
echo "Warning: Unknown argument '$1' will be passed to the main command"
|
||||
break
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user