summarylogtreecommitdiffstats
path: root/wol@.service
diff options
context:
space:
mode:
Diffstat (limited to 'wol@.service')
-rwxr-xr-x[-rw-r--r--]wol@.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/wol@.service b/wol@.service
index 875180e35004..6f0edfed3dcc 100644..100755
--- a/wol@.service
+++ b/wol@.service
@@ -1,11 +1,11 @@
[Unit]
Description=Wake-on-LAN for %i
Requires=network.target
-After=network.target
+After=network.target network-online.target
[Service]
ExecStart=/usr/bin/ethtool -s %i wol g
Type=oneshot
[Install]
-WantedBy=multi-user.target \ No newline at end of file
+WantedBy=multi-user.target