[systemd-devel] "systemd-inhibit" in service files?

Manuel Reimer Manuel.Spam at nurfuerspam.de
Tue Nov 6 13:16:48 PST 2012


Hello,

if I want a daemon to, for example listen for the power button, then there are 
two possible solutions. Either configure systemd to not longer handle the power 
button or register an "inhibitor" to make systemd stop handling the power button.

Is it good practice to use "systemd-inhibit" in service files to use the 
"inhibitor" way to "free" the power button or is the preferred way to fix the 
daemon to inhibit on its own?

Thanks in advance

Yours

Manuel



More information about the systemd-devel mailing list