mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-24 17:49:07 -05:00
12 lines
301 B
SYSTEMD
12 lines
301 B
SYSTEMD
|
[Unit]
|
||
|
Description=nostr-rs-relay
|
||
|
[Service]
|
||
|
User=REPLACE_WITH_YOUR_USERNAME
|
||
|
WorkingDirectory=/usr/bin/
|
||
|
Environment=RUST_LOG=warn,nostr_rs_relay=info
|
||
|
ExecStart=nostr-rs-relay --config /etc/nostr-rs-relay/config.toml
|
||
|
TimeoutStopSec=10
|
||
|
Restart=on-failure
|
||
|
RestartSec=5
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|