acpid: added runit service.

This commit is contained in:
Juan RP 2014-10-13 12:07:44 +02:00
parent c6a20560b6
commit 444ab19586
3 changed files with 6 additions and 1 deletions

2
srcpkgs/acpid/files/acpid/run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec acpid -f

View File

@ -0,0 +1 @@
/run/runit/supervise.acpid

View File

@ -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
}