relayer/files/relayer.service
changeset 214 3069b7d001f7
equal deleted inserted replaced
213:245f2e093398 214:3069b7d001f7
       
     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