From eb6db85d4c350a0cd3c487b431f0431082e14a67 Mon Sep 17 00:00:00 2001 From: ghassmo Date: Wed, 9 Mar 2022 17:48:29 +0400 Subject: [PATCH] bin/ircd: make script directory --- bin/ircd/README.md | 2 +- bin/ircd/{ => script}/run_node.sh | 0 bin/ircd/{ => script}/run_seed_node.sh | 0 bin/ircd/script/tmux_session.sh | 6 ++++++ 4 files changed, 7 insertions(+), 1 deletion(-) rename bin/ircd/{ => script}/run_node.sh (100%) rename bin/ircd/{ => script}/run_seed_node.sh (100%) create mode 100755 bin/ircd/script/tmux_session.sh diff --git a/bin/ircd/README.md b/bin/ircd/README.md index 6d632ea1f..508bcb550 100644 --- a/bin/ircd/README.md +++ b/bin/ircd/README.md @@ -60,6 +60,6 @@ And send messages to yourself. ### Running a Fullnode -See the script `run_node.sh` for an example of how to deploy a full node which +See the script `script/run_node.sh` for an example of how to deploy a full node which does seed session synchronization, and accepts both inbound and outbound connections. diff --git a/bin/ircd/run_node.sh b/bin/ircd/script/run_node.sh similarity index 100% rename from bin/ircd/run_node.sh rename to bin/ircd/script/run_node.sh diff --git a/bin/ircd/run_seed_node.sh b/bin/ircd/script/run_seed_node.sh similarity index 100% rename from bin/ircd/run_seed_node.sh rename to bin/ircd/script/run_seed_node.sh diff --git a/bin/ircd/script/tmux_session.sh b/bin/ircd/script/tmux_session.sh new file mode 100755 index 000000000..5eccc2dfe --- /dev/null +++ b/bin/ircd/script/tmux_session.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +tmux new-session -d 'LOG_TARGETS=net ../../target/release/ircd -vv --accept 127.0.0.1:9999 --irc 127.0.0.1:6688' +tmux split-window -v 'LOG_TARGETS=net ../../target/release/ircd -vv --accept 127.0.0.1:11004 --external 127.0.0.1:11004 --seeds 127.0.0.1:9999 --irc 127.0.0.1:6667' +tmux split-window -h 'LOG_TARGETS=net ../../target/release/ircd -vv --slots 5 --seeds 127.0.0.1:9999 --irc 127.0.0.1:6668' +tmux attach