src.nth.io/

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

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

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

[Install]
WantedBy=multi-user.target