relayer/files/relayer.service
changeset 217 e69a030975c4
parent 216 6c85835d4621
child 218 1db4800bc4f5
equal deleted inserted replaced
216:6c85835d4621 217:e69a030975c4
     1 [Unit]
       
     2 Description=relayer nostr relay
       
     3 Requires=network.target postgresql.service
       
     4 Before=nginx.service
       
     5 
       
     6 [Service]
       
     7 User=relayer
       
     8 EnvironmentFile=/etc/relayer/relayer.env
       
     9 
       
    10 ExecStart=/usr/local/bin/relayer
       
    11 Restart=on-failure
       
    12 
       
    13 [Install]
       
    14 WantedBy=multi-user.target