Skip to content

Commit d9392b7

Browse files
committed
script: Improve robustness of bitcoind.service on startup
1 parent 9158d6f commit d9392b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contrib/init/bitcoind.service

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111

1212
[Unit]
1313
Description=Bitcoin daemon
14-
After=network.target
14+
15+
# https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
16+
After=network-online.target
17+
Wants=network-online.target
1518

1619
[Service]
1720
ExecStart=/usr/bin/bitcoind -daemon \

0 commit comments

Comments
 (0)