diff options
Diffstat (limited to 'sys-power/power-profiles-daemon/files/power-profiles-daemon.initd')
-rw-r--r-- | sys-power/power-profiles-daemon/files/power-profiles-daemon.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-power/power-profiles-daemon/files/power-profiles-daemon.initd b/sys-power/power-profiles-daemon/files/power-profiles-daemon.initd new file mode 100644 index 000000000000..d16735e930f8 --- /dev/null +++ b/sys-power/power-profiles-daemon/files/power-profiles-daemon.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="power-profiles-daemon" +description="Makes power profiles handling available over D-Bus" + +pidfile="/run/power-profiles-daemon.pid" +command="/usr/libexec/power-profiles-daemon" +command_background=true + +start_pre() { + checkpath -d /var/lib/power-profiles-daemon +} |