13 lines
257 B
Plaintext
13 lines
257 B
Plaintext
|
|
# /etc/systemd/system/wol@.service
|
|||
|
|
|
|||
|
|
[Unit]
|
|||
|
|
Description=Wake‑on‑LAN configuration for interface %I
|
|||
|
|
After=network.target
|
|||
|
|
|
|||
|
|
[Service]
|
|||
|
|
Type=oneshot
|
|||
|
|
ExecStart=/usr/sbin/ethtool -s %I wol {{ wol_mode }}
|
|||
|
|
RemainAfterExit=yes
|
|||
|
|
|
|||
|
|
[Install]
|
|||
|
|
WantedBy=multi-user.target
|