Added run_waku_node script

This commit is contained in:
Alberto Soutullo
2023-07-17 18:05:53 +02:00
parent 306fd03067
commit ae4cb0383c

5
config/run_waku_node.sh Normal file
View File

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