src.nth.io/

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

[Service]
Type=notify
ExecStart=/usr/local/bin/lnd
User={{lnd_user}}

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

[Install]
WantedBy=multi-user.target