diff --git a/srcpkgs/acpid/files/acpid/run b/srcpkgs/acpid/files/acpid/run new file mode 100755 index 0000000000..5baf800e57 --- /dev/null +++ b/srcpkgs/acpid/files/acpid/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec acpid -f diff --git a/srcpkgs/acpid/files/acpid/supervise b/srcpkgs/acpid/files/acpid/supervise new file mode 120000 index 0000000000..5b27b65216 --- /dev/null +++ b/srcpkgs/acpid/files/acpid/supervise @@ -0,0 +1 @@ +/run/runit/supervise.acpid \ No newline at end of file diff --git a/srcpkgs/acpid/template b/srcpkgs/acpid/template index 53faa0785d..6d7be1a30a 100644 --- a/srcpkgs/acpid/template +++ b/srcpkgs/acpid/template @@ -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 }