nostr/relayer/files/relayer.service
author Luke Hoersten <luke@hoersten.org>
Sat, 20 Jul 2024 13:51:46 -0500
changeset 234 f46b0f7e758c
parent 217 e69a030975c4
permissions -rw-r--r--
Added task to ensure log2ram is running.

[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