Skip to content

Commit ab589dc

Browse files
committed
confirmed fix for systemd hanging
1 parent 7eb24b4 commit ab589dc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[Unit]
22
Description = enable the infrared emitter
3+
After = suspend.target sleep.target hybrid-sleep.target hibernate.target suspend-then-hibernate.target
34

45
[Service]
56
Type = oneshot
67
ExecStartPre = /sbin/modprobe uvcvideo
78
ExecStart = /usr/bin/linux-enable-ir-emitter run
89

910
[Install]
10-
WantedBy = multi-user.target suspend.target hybrid-sleep.target hibernate.target suspend-then-hibernate.target
11+
WantedBy = multi-user.target suspend.target sleep.target hybrid-sleep.target hibernate.target suspend-then-hibernate.target

0 commit comments

Comments
 (0)