acpid: added runit service.
This commit is contained in:
parent
c6a20560b6
commit
444ab19586
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec acpid -f
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.acpid
|
|
@ -1,7 +1,8 @@
|
|||
# Template file for 'acpid'
|
||||
pkgname=acpid
|
||||
version=2.0.23
|
||||
revision=1
|
||||
revision=2
|
||||
replaces="runit-void<20141013_2"
|
||||
build_style=gnu-configure
|
||||
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
|
||||
short_desc="The ACPI Daemon (acpid) With Netlink Support"
|
||||
|
@ -23,4 +24,5 @@ post_install() {
|
|||
fi
|
||||
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
|
||||
vinstall ${FILESDIR}/anything 644 etc/acpi/events
|
||||
vsv acpid
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue