Use die-with-parent in inhibit-sleep-for-audio.lisp
This commit is contained in:
@ -38,7 +38,10 @@
|
|||||||
|
|
||||||
(defun start-inhibitor ()
|
(defun start-inhibitor ()
|
||||||
"Start the inhibitor process."
|
"Start the inhibitor process."
|
||||||
(let ((cmd (list "systemd-inhibit"
|
(let ((cmd (list "die-with-parent"
|
||||||
|
"-p" (prin1-to-string (sb-posix:getpid))
|
||||||
|
"--"
|
||||||
|
"systemd-inhibit"
|
||||||
"--mode=block"
|
"--mode=block"
|
||||||
"--what=sleep:idle"
|
"--what=sleep:idle"
|
||||||
"--who=inhibit-sleep-for-audio"
|
"--who=inhibit-sleep-for-audio"
|
||||||
|
|||||||
Reference in New Issue
Block a user