src.nth.io/

summaryrefslogtreecommitdiff
path: root/lnd/templates/lnd.service.j2
blob: 1e826ca2be80abcb8783d777abf3be3123dff8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=lnd
Wants=btcd.service
After=btcd.service

[Service]
ExecStart=/usr/local/bin/lnd
User={{lnd_user}}
Restart=on-failure

PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
MemoryDenyWriteExecute=true

[Install]
WantedBy=multi-user.target