1
1
mirror of https://github.com/bumi/lntip synced 2026-02-13 21:07:48 +00:00

LnMe systemd service

This commit is contained in:
2020-10-24 11:41:46 +02:00
parent 9afa340725
commit 56cfbfd714
2 changed files with 19 additions and 21 deletions

19
examples/lnme.service Normal file
View File

@@ -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