20 lines
559 B
Desktop File
20 lines
559 B
Desktop File
# UNINSTALLED USER replacement for an already installed/enabled nostr-relay.
|
|
# Retirement must mask the old system unit and preserve its original data/config.
|
|
[Unit]
|
|
Description=Archipelago private Nostr relay in the isolated runtime
|
|
ConditionPathExists=/usr/local/bin/nostr-rs-relay
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/bin/nostr-rs-relay --config /var/lib/archipelago/nostr-relay/config.toml
|
|
Restart=always
|
|
RestartSec=3
|
|
TimeoutStopSec=10
|
|
MemoryMax=512M
|
|
LimitNOFILE=4096
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=default.target
|