mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 16:39:15 +00:00
Fix lnbits service file
This commit is contained in:
parent
ad0c92bd19
commit
b93644fb3d
|
@ -10,7 +10,6 @@ After=bitcoind.service lnd.service
|
||||||
ExecStartPre=/usr/bin/is_not_shutting_down.sh
|
ExecStartPre=/usr/bin/is_not_shutting_down.sh
|
||||||
ExecStartPre=/usr/bin/wait_on_lnd.sh
|
ExecStartPre=/usr/bin/wait_on_lnd.sh
|
||||||
ExecStartPre=/bin/sh -c 'cd /opt/mynode/lnbits && /usr/local/bin/pipenv run flask migrate'
|
ExecStartPre=/bin/sh -c 'cd /opt/mynode/lnbits && /usr/local/bin/pipenv run flask migrate'
|
||||||
sudo -u bitcoin pipenv run flask migrate || true
|
|
||||||
Environment=FLASK_ENV=development
|
Environment=FLASK_ENV=development
|
||||||
WorkingDirectory=/opt/mynode/lnbits
|
WorkingDirectory=/opt/mynode/lnbits
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user