Merge pull request #24714 from openshift-cherrypick-robot/cherry-pick-24706-to-v5.3

[v5.3] Fixes missing binary in systemd.
This commit is contained in:
Daniel J Walsh 2024-12-02 12:18:31 -05:00 • committed by GitHub
commit aad97a1342
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,5 +8,5 @@ Type=oneshot
# Set a timeout as by default oneshot does not have one and in case network-online.target
# never comes online we do not want to block forever, 90s is the default systemd unit timeout.
TimeoutStartSec=90s
ExecStart=sh -c 'until systemctl is-active network-online.target; do sleep 0.5; done'
ExecStart=/bin/sh -c 'until systemctl is-active network-online.target; do sleep 0.5; done'
RemainAfterExit=yes