debugging

This commit is contained in:
Pearson White 2025-09-08 16:13:00 -04:00
parent 036512e84b
commit 9d4eb2a632
No known key found for this signature in database
GPG Key ID: 04EC3B10F58DECC3

View File

@ -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