summarylogtreecommitdiffstats
path: root/macbook-wakeup.service
diff options
context:
space:
mode:
Diffstat (limited to 'macbook-wakeup.service')
-rw-r--r--macbook-wakeup.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/macbook-wakeup.service b/macbook-wakeup.service
index 48ac5f514dd..7f6c9b68010 100644
--- a/macbook-wakeup.service
+++ b/macbook-wakeup.service
@@ -1,6 +1,7 @@
[Unit]
-Description=Configure device events for linux-macbook
+Description=Configure LID-only device events for linux-macbook
ConditionPathExists=/proc/acpi/wakeup
+After=suspend.target
[Service]
Type=oneshot
@@ -10,4 +11,4 @@ RemainAfterExit=yes
TimeoutSec=0
[Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target sleep.target