mirror of https://github.com/bumi/lntip
LnMe systemd service
This commit is contained in:
parent
9afa340725
commit
56cfbfd714
|
@ -1,21 +0,0 @@
|
||||||
[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
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
[Unit]
|
||||||
|
Description=LnMe your friendly lightning payment page
|
||||||
|
Wants=lnd.service
|
||||||
|
After=lnd.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/home/bitcoin/lnme --address=localhost:10009 --cert=/home/bitcoin/.lnd/tls.cert --macaroon=/home/bumi/bitcoin/.lnd/data/chain/bitcoin/mainnet/invoice.macaroon
|
||||||
|
|
||||||
|
User=bitcoin
|
||||||
|
Group=bitcoin
|
||||||
|
Type=simple
|
||||||
|
KillMode=process
|
||||||
|
LimitNOFILE=128000
|
||||||
|
TimeoutSec=240
|
||||||
|
Restart=always
|
||||||
|
RestartSec=60
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue