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