mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-24 17:49:07 -05:00
improvement: use appropriate paths for systemd example
This commit is contained in:
parent
ba0b50bc9c
commit
5135f3b007
|
@ -1,12 +1,14 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=nostr-rs-relay
|
Description=nostr-rs-relay
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=REPLACE_WITH_YOUR_USERNAME
|
User=REPLACE_WITH_YOUR_USERNAME
|
||||||
WorkingDirectory=/usr/bin/
|
WorkingDirectory=/var/lib/nostr-rs-relay
|
||||||
Environment=RUST_LOG=warn,nostr_rs_relay=info
|
Environment=RUST_LOG=warn,nostr_rs_relay=info
|
||||||
ExecStart=nostr-rs-relay --config /etc/nostr-rs-relay/config.toml
|
ExecStart=/usr/bin/nostr-rs-relay --config /etc/nostr-rs-relay/config.toml
|
||||||
TimeoutStopSec=10
|
TimeoutStopSec=10
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user