Jafner.net/homelab/local-hosts/fighter/barbarian-wait-online.service

12 lines
235 B
Desktop File

[Unit]
DefaultDependencies=no
After=nss-lookup.target
Before=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=sh -c 'until ping -c 1 192.168.1.10; do sleep 0.5; done'
[Install]
WantedBy=network-online.target