mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04:22 +01:00
systemd: wait until network is up
Prevents error when launching with bind-addr.
This commit is contained in:
committed by
Christian Decker
parent
d9db9dc1ae
commit
b95e10c354
@@ -11,6 +11,7 @@
|
|||||||
Description=C-Lightning daemon
|
Description=C-Lightning daemon
|
||||||
Requires=bitcoind.service
|
Requires=bitcoind.service
|
||||||
After=bitcoind.service
|
After=bitcoind.service
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/lightningd --daemon --conf /etc/lightningd/lightningd.conf --pid-file=/run/lightningd/lightningd.pid
|
ExecStart=/usr/bin/lightningd --daemon --conf /etc/lightningd/lightningd.conf --pid-file=/run/lightningd/lightningd.pid
|
||||||
|
|||||||
Reference in New Issue
Block a user