I used Rust to build, and install. When I run RUST_LOG=warn,nostr_rs_relay=info ./target/release/nostr-rs-relay it does not reference the config.toml file. There is a short note on how to make a Docker setup use it, but I'm not using Docker. How do I make my setup use it?
Do I include config=/var/nostr/config.toml like this RUST_LOG=warn,nostr_rs_relay=info,config=/var/nostr/config.toml ./target/release/nostr-rs-relay?? Or is it part of the nostr-rs-relay.service unit file, like this: ExecStart=/bin/bash -lc 'exec ./target/release/nostr-rs-relay' --config /etc/nostr-rs-relay/config.toml ??
Any help is MUCH welcomed.
I used Rust to build, and install. When I run
RUST_LOG=warn,nostr_rs_relay=info ./target/release/nostr-rs-relayit does not reference the config.toml file. There is a short note on how to make a Docker setup use it, but I'm not using Docker. How do I make my setup use it?Do I include
config=/var/nostr/config.tomllike thisRUST_LOG=warn,nostr_rs_relay=info,config=/var/nostr/config.toml ./target/release/nostr-rs-relay?? Or is it part of the nostr-rs-relay.service unit file, like this:ExecStart=/bin/bash -lc 'exec ./target/release/nostr-rs-relay' --config /etc/nostr-rs-relay/config.toml??Any help is MUCH welcomed.