Files
ansible_proxmox_WOL/templates/wol.service.j2
T

12 lines
237 B
Django/Jinja
Raw Normal View History

2025-12-14 20:46:32 +01:00
[Unit]
Description=Enable Wake-on-LAN on {{ wol_final_interface }}
2025-12-14 20:46:32 +01:00
After=network.target
[Service]
Type=oneshot
ExecStart=/sbin/ethtool -s {{ wol_final_interface }} wol {{ wol_mode }}
Restart=always
2025-12-14 20:46:32 +01:00
[Install]
WantedBy=multi-user.target