summaryrefslogtreecommitdiff
path: root/repo/system/acpid/acpid.initd
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/acpid/acpid.initd')
-rw-r--r--repo/system/acpid/acpid.initd28
1 files changed, 0 insertions, 28 deletions
diff --git a/repo/system/acpid/acpid.initd b/repo/system/acpid/acpid.initd
deleted file mode 100644
index c2d60f9..0000000
--- a/repo/system/acpid/acpid.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-
-description="The ACPI Daemon"
-
-extra_started_commands="reload"
-description_reload="Reload configuration"
-
-command="/sbin/acpid"
-command_args="--foreground ${command_args:-}"
-command_background="yes"
-pidfile="/run/$RC_SVCNAME.pid"
-
-depend() {
- need dev localmount
- after hwdrivers modules
- provide acpid
- keyword -vserver -lxc
-}
-
-reload() {
- ebegin "Reloading $RC_SVCNAME configuration"
- if [ "$supervisor" ]; then
- $supervisor "$RC_SVCNAME" --signal HUP
- else
- start-stop-daemon --pidfile "$pidfile" --signal HUP
- fi
- eend $?
-}