Skip to content

Commit

Permalink
thinkfan-wakeup.service: fix dependencies
Browse files Browse the repository at this point in the history
the sleep service actually finishes just before going to sleep, so we
have to depend on each sleep service explicitly to make sure the wakeup
script runs *after* waking up.
  • Loading branch information
vmatare committed Jul 19, 2020
1 parent 80056f9 commit 94c9001
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rcscripts/systemd/thinkfan-wakeup.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[Unit]
Description=Reload thinkfan after waking up from suspend
After=sysinit.target
After=sleep.target
After=suspend.target
After=suspend-then-hibernate.target
After=hybrid-sleep.target
After=hibernate.target

[Service]
Type=oneshot
Expand Down

0 comments on commit 94c9001

Please sign in to comment.