nostr/relayer/files/relayer.service
author Luke Hoersten <luke@hoersten.org>
Sat, 16 Sep 2023 01:39:37 -0500
changeset 223 de03976c2df1
parent 217 e69a030975c4
permissions -rw-r--r--
Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.

[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