Update relay tester scripts to use /tmp/orlytest for temporary data storage and adjust cleanup logic

This commit is contained in:
2025-09-10 22:48:14 +01:00
parent 57ac3667e6
commit bb8998fef6
2 changed files with 5 additions and 3 deletions

View File

@@ -16,4 +16,4 @@ cd relay-tester
cargo build -r
cp target/release/relay-tester $GOBIN/
cd ..
rm -rf relay-tester
#rm -rf relay-tester

View File

@@ -7,7 +7,7 @@ if ! command -v "relay-tester" &> /dev/null; then
echo "./scripts/relaytester-install.sh"
exit
fi
rm -rf ~/.local/share/ORLY
rm -rf /tmp/orlytest
export ORLY_LOG_LEVEL=trace
export ORLY_LOG_TO_STDOUT=true
export ORLY_LISTEN=127.0.0.1
@@ -15,7 +15,9 @@ export ORLY_PORT=3334
export ORLY_IP_WHITELIST=127.0.0
export ORLY_ADMINS=6d9b216ec1dc329ca43c56634e0dba6aaaf3d45ab878bdf4fa910c7117db0bfa,c284f03a874668eded145490e436b87f1a1fc565cf320e7dea93a7e96e3629d7
export ORLY_ACL_MODE=none
export ORLY_DATA_DIR=/tmp/orlytest
go run . &
sleep 5
relay-tester ws://127.0.0.1:3334 nsec12l4072hvvyjpmkyjtdxn48xf8qj299zw60u7ddg58s2aphv3rpjqtg0tvr nsec1syvtjgqauyeezgrev5nqrp36d87apjk87043tgu2usgv8umyy6wq4yl6tu
killall next.orly.dev
rm -rf /tmp/orlytest