From 42170a1aee25483f1d7e0af359b42b402d92a4d7 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Fri, 17 May 2024 16:28:59 +0200 Subject: [PATCH] add systemd service --- systemd/acpi-wakeup-fixxer.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/acpi-wakeup-fixxer.service diff --git a/systemd/acpi-wakeup-fixxer.service b/systemd/acpi-wakeup-fixxer.service new file mode 100644 index 0000000..ea5702b --- /dev/null +++ b/systemd/acpi-wakeup-fixxer.service @@ -0,0 +1,15 @@ +[Unit] +Description=Fix ACPI wakeup issues +DefaultDependencies=no +Conflicts=shutdown.target +Before=sysinit.target shutdown.target +ConditionPathExists=|/proc/acpi/wakeup + +[Service] +ExecStart=/usr/local/bin/acpi-wakeup-fixxer +Type=oneshot +TimeoutSec=0 +RemainAfterExit=yes + +[Install] +WantedBy=sysinit.target