lnd/templates/lnd.service.j2
changeset 4 9934a00b9e97
parent 0 474ccafc2349
child 24 a216f4e9b000
equal deleted inserted replaced
3:74f60cd1440b 4:9934a00b9e97
     1 [Unit]
     1 [Unit]
     2 Description=lnd
     2 Description=lnd
     3 Wants=btcd.service
     3 Wants={{lnd_bitcoin_node}}.service
     4 After=btcd.service
     4 After={{lnd_bitcoin_node}}.service
     5 
     5 
     6 [Service]
     6 [Service]
     7 ExecStart=/usr/local/bin/lnd
     7 ExecStart=/usr/local/bin/lnd
     8 User={{lnd_user}}
     8 User={{lnd_user}}
     9 Restart=on-failure
       
    10 
     9 
    11 PrivateTmp=true
    10 PrivateTmp=true
    12 ProtectSystem=full
    11 ProtectSystem=full
    13 NoNewPrivileges=true
    12 NoNewPrivileges=true
    14 PrivateDevices=true
    13 PrivateDevices=true