Files
ansible/roles/disable-wakers/templates/disable-acpi-wakeup.service.j2
T
2026-09-17 00:36:31 +02:00

15 lines
356 B
Django/Jinja

[Unit]
Description=Disable ACPI wakeup devices on shutdown
DefaultDependencies=no
Before=shutdown.target reboot.target halt.target poweroff.target
Conflicts=shutdown.target reboot.target halt.target poweroff.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecStop={{ acpi_wakeup_script_path }}
[Install]
WantedBy=multi-user.target