mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-21 18:33:00 +02:00
upadte systemd docs to poetry
This commit is contained in:
@ -194,15 +194,14 @@ Description=LNbits
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# replace with the absolute path of your lnbits installation
|
# replace with the absolute path of your lnbits installation
|
||||||
WorkingDirectory=/home/bitcoin/lnbits
|
WorkingDirectory=/home/lnbits/lnbits-legend
|
||||||
# same here
|
# same here. run `which poetry` if you can't find the poetry binary
|
||||||
ExecStart=/home/bitcoin/lnbits/venv/bin/uvicorn lnbits.__main__:app --port 5000
|
ExecStart=/home/lnbits/.local/bin/poetry run lnbits
|
||||||
# replace with the user that you're running lnbits on
|
# replace with the user that you're running lnbits on
|
||||||
User=bitcoin
|
User=lnbits
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
# this makes sure that you receive logs in real time
|
|
||||||
Environment=PYTHONUNBUFFERED=1
|
Environment=PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Reference in New Issue
Block a user