Skip to content

Commit

Permalink
systemd: Add After=network-online.target
Browse files Browse the repository at this point in the history
From https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
"Cut the crap! How do I make sure that my service starts after the network is really online?"

We were just missing this one.  Came out of a discussion
about testing for network availability in
#127
  • Loading branch information
cgwalters authored and dustymabe committed Jan 7, 2020
1 parent bc14b5e commit 35b41f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemd/coreos-installer.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=CoreOS Installer
Before=coreos-installer.target
After=network-online.target
Wants=network-online.target
ConditionKernelCommandLine=coreos.inst.install_dev

Expand Down

0 comments on commit 35b41f9

Please sign in to comment.