summaryrefslogtreecommitdiff
path: root/user/acpid/acpid.initd
diff options
context:
space:
mode:
authormultiplexd <multi@in-addr.xyz>2018-12-05 22:16:17 +0000
committermultiplexd <multi@in-addr.xyz>2018-12-05 22:39:57 +0000
commit6e5fd9cb2156eec3b6e8f71de371239d1c9af1b7 (patch)
tree23d6ef3e49c0c419c9fdf2719197d9702dfb5320 /user/acpid/acpid.initd
parent20f6886b2f4338a78ea1409a8497982c9024509a (diff)
downloadpackages-6e5fd9cb2156eec3b6e8f71de371239d1c9af1b7.tar.gz
packages-6e5fd9cb2156eec3b6e8f71de371239d1c9af1b7.tar.bz2
packages-6e5fd9cb2156eec3b6e8f71de371239d1c9af1b7.tar.xz
packages-6e5fd9cb2156eec3b6e8f71de371239d1c9af1b7.zip
user/acpid: new package, version 2.0.31
Diffstat (limited to 'user/acpid/acpid.initd')
-rw-r--r--user/acpid/acpid.initd19
1 files changed, 19 insertions, 0 deletions
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 $?
+}