nostr/relayer/files/relayer.service
author Luke Hoersten <luke@hoersten.org>
Sun, 04 Feb 2024 20:27:19 -0600
changeset 227 2e0366f2dcbe
parent 217 e69a030975c4
permissions -rw-r--r--
Tons of updates to fix migration to new server.

[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