diff options
Diffstat (limited to 'etc/systemd/system/wol@.service')
-rw-r--r-- | etc/systemd/system/wol@.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/systemd/system/wol@.service b/etc/systemd/system/wol@.service new file mode 100644 index 0000000..b60d539 --- /dev/null +++ b/etc/systemd/system/wol@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wake-on-LAN for %i +Requires=network.target +After=network.target + +[Service] +ExecStart=/usr/bin/ethtool -s %i wol gp +Type=oneshot + +[Install] +WantedBy=multi-user.target |