소스 검색

bin/ircd: make script directory

ghassmo 4 년 전
부모
커밋
eb6db85d4c
4개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bin/ircd/README.md
  2. 0 0
      bin/ircd/script/run_node.sh
  3. 0 0
      bin/ircd/script/run_seed_node.sh
  4. 6 0
      bin/ircd/script/tmux_session.sh

+ 1 - 1
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.

+ 0 - 0
bin/ircd/run_node.sh → bin/ircd/script/run_node.sh


+ 0 - 0
bin/ircd/run_seed_node.sh → bin/ircd/script/run_seed_node.sh


+ 6 - 0
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