lnurld/server/templates/lnurld.service.j2
changeset 218 1db4800bc4f5
parent 217 e69a030975c4
equal deleted inserted replaced
217:e69a030975c4 218:1db4800bc4f5
       
     1 [Unit]
       
     2 Description=LNURL Daemon
       
     3 Wants=lnd.service
       
     4 After=lnd.service
       
     5 
       
     6 [Service]
       
     7 Environment="GIN_MODE=release"
       
     8 ExecStart=/usr/local/bin/lnurld
       
     9 
       
    10 User={{lnurld_user}}
       
    11 Group={{lnurld_user}}
       
    12 
       
    13 Type=simple
       
    14 KillMode=process
       
    15 LimitNOFILE=128000
       
    16 TimeoutSec=240
       
    17 Restart=always
       
    18 RestartSec=60
       
    19 
       
    20 [Install]
       
    21 WantedBy=multi-user.target