relayer/files/relayer.service
changeset 214 3069b7d001f7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/relayer/files/relayer.service	Thu Jul 20 18:07:44 2023 -0500
@@ -0,0 +1,14 @@
+[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