nostr/relayer/files/relayer.service
author Luke Hoersten <luke@hoersten.org>
Sat, 10 Feb 2024 15:41:05 -0600
changeset 230 07f08cc98da0
parent 217 e69a030975c4
permissions -rw-r--r--
Added swapfile role.

[Unit]
Description=relayer nostr relay
Requires=network.target postgresql.service
Before=nginx.service

[Service]
User=relayer
EnvironmentFile=/etc/relayer/relayer.env

ExecStart=/usr/local/bin/relayer
Restart=on-failure

[Install]
WantedBy=multi-user.target