nostr/relayer/files/relayer.service
changeset 217 e69a030975c4
parent 214 3069b7d001f7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nostr/relayer/files/relayer.service	Sat Jul 22 15:50:36 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