mirror of
https://github.com/bumi/lntip
synced 2025-07-06 09:08:57 +00:00
Add systemd service example
This commit is contained in:
parent
faf858f0c4
commit
199b251379
21
examples/invoices-proxy.service
Normal file
21
examples/invoices-proxy.service
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=LND invoices proxy
|
||||||
|
Wants=lnd.service
|
||||||
|
After=lnd.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/home/bitcoin/lntip
|
||||||
|
ExecStart=/home/bitcoin/lntip/invoices_proxy --address=localhost:10009 --cert=/home/bitcoin/.lnd/tls.cert --macaroon=/home/bumi/bitcoin/.lnd/data/chain/bitcoin/mainnet/invoice.macaroon --static-path=/home/bitcoin/lntip/assets
|
||||||
|
|
||||||
|
|
||||||
|
User=bitcoin
|
||||||
|
Group=bitcoin
|
||||||
|
Type=simple
|
||||||
|
KillMode=process
|
||||||
|
LimitNOFILE=128000
|
||||||
|
TimeoutSec=240
|
||||||
|
Restart=always
|
||||||
|
RestartSec=60
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user