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