summarylogtreecommitdiffstats
path: root/wol@.service
blob: b58525ff2eae283138e02323183f7119901e88ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Wake-on-LAN for %i
Requires=network.target
After=network.target network-online.target

[Service]
Restart=on-failure
RestartSec=10s
ExecStart=/usr/bin/ethtool -s %i wol g
Type=simple

[Install]
WantedBy=multi-user.target