Skip to content

How to use the config.toml in non-Docker environments? #229

@githubber

Description

@githubber

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions