mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-18 00:52:55 +02:00
15 lines
356 B
Django/Jinja
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 |