systemd: wait until network is up

Prevents error when launching with bind-addr.
This commit is contained in:
Sjors Provoost 2019-05-16 16:55:56 +02:00 committed by Christian Decker
parent d9db9dc1ae
commit b95e10c354

View File

@ -11,6 +11,7 @@
Description=C-Lightning daemon
Requires=bitcoind.service
After=bitcoind.service
Wants=network-online.target
[Service]
ExecStart=/usr/bin/lightningd --daemon --conf /etc/lightningd/lightningd.conf --pid-file=/run/lightningd/lightningd.pid