From ae4cb0383cee98f19fa788e2b2d5fb4f90825c89 Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Date: Mon, 17 Jul 2023 18:05:53 +0200 Subject: [PATCH] Added run_waku_node script --- config/run_waku_node.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 config/run_waku_node.sh diff --git a/config/run_waku_node.sh b/config/run_waku_node.sh new file mode 100644 index 0000000..f6ba30e --- /dev/null +++ b/config/run_waku_node.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/') + +exec /usr/bin/wakunode --config-file="$1" --ports-shift="$2" --nat=extip:"${IP}" --log-level=TRACE \ No newline at end of file