summaryrefslogtreecommitdiff
path: root/dns-ready-check.service
blob: a9457397173af8fdfc9bf6d31d10c9ed353fbbeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Check if Domain Name System resolver is ready
DefaultDependencies=no
Requires=network-online.target
After=network-online.target

[Service]
Type=oneshot
ExecStart=/usr/bin/host example.com
Restart=on-failure
RestartSec=1
StandardOutput=null