From b95e10c354fe9e28466d8beaff1ddf9101830dbe Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Thu, 16 May 2019 16:55:56 +0200 Subject: [PATCH] systemd: wait until network is up Prevents error when launching with bind-addr. --- contrib/init/lightningd.service | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/init/lightningd.service b/contrib/init/lightningd.service index 75f207693..cf57c4644 100644 --- a/contrib/init/lightningd.service +++ b/contrib/init/lightningd.service @@ -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