Created
June 26, 2026 11:16
-
-
Save programminghoch10/3eb1cd346ee28584fbc5225b3405b4e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Stub service that depends on network-online.target but does nothing. | |
| # We want this target to become active, | |
| # so that the userspace podman-user-wait-network-online.service activates. | |
| # place into /etc/systemd/system/network-online-stub.service | |
| # then enmable with systemctl daemon-reload; systemctl enable network-online-stub.service | |
| [Unit] | |
| Description=Stub service that waits for network-online.target | |
| Wants=network-online.target | |
| After=network-online.target | |
| # The Requires= line would make this unit fail if the network target fails. | |
| # Requires=network-online.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=true | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment