[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