lnurld/server/templates/lnurld.service.j2
changeset 222 6eaeb42f5c10
parent 221 a7bb0c129c0a
child 223 de03976c2df1
equal deleted inserted replaced
221:a7bb0c129c0a 222:6eaeb42f5c10
     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