From 6e5fd9cb2156eec3b6e8f71de371239d1c9af1b7 Mon Sep 17 00:00:00 2001 From: multiplexd Date: Wed, 5 Dec 2018 22:16:17 +0000 Subject: user/acpid: new package, version 2.0.31 --- user/acpid/acpid.initd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 user/acpid/acpid.initd (limited to 'user/acpid/acpid.initd') diff --git a/user/acpid/acpid.initd b/user/acpid/acpid.initd new file mode 100644 index 000000000..f8076d43b --- /dev/null +++ b/user/acpid/acpid.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +extra_started_commands="reload" +command="/usr/sbin/acpid" +command_args="${ACPID_ARGS}" +description="Daemon for Advanced Configuration and Power Interface" + +depend() { + need localmount + use logger +} + +reload() { + ebegin "Reloading acpid configuration" + start-stop-daemon --exec $command --signal HUP + eend $? +} -- cgit v1.2.3-70-g09d2