add systemd subfolder
This commit is contained in:
parent
9356a41f0e
commit
8ae771f5b4
1 changed files with 11 additions and 0 deletions
11
systemd/wol@.service
Normal file
11
systemd/wol@.service
Normal file
|
@ -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 g
|
||||||
|
Type=oneshot
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue