Add acpid

This commit is contained in:
Alex D. 2024-12-06 21:11:46 +00:00
parent d633c25222
commit 6eb20f478e
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
5 changed files with 13 additions and 2 deletions

View File

@ -3,8 +3,8 @@
. ../../APKBUILD.template
pkgname=nnd-s6-services
pkgver=3.9
pkgrel=3
pkgver=3.10
pkgrel=1
pkgdesc="Base services for s6"
depends="
s6-rc>=0.5.4
@ -119,6 +119,7 @@ build() {
/run/lldpd,mount.run
/etc,mount.root
/etc/crontabs,dir.etc
/etc/acpi,dir.etc
/sys,mount.root
/tmp,mount.root
/var,mount.root
@ -142,6 +143,7 @@ build() {
EOF
"$builddir"/scripts/generate-logger.sh <<-EOF
acpid,acpid
auditd,auditd
bird,bird
ceph-exporter,ceph-exporter

View File

@ -0,0 +1,8 @@
#!/bin/execlineb -P
importas XDG_CONFIG_HOME XDG_CONFIG_HOME
fdmove -c 2 1
s6-envdir -I ${XDG_CONFIG_HOME}/s6/env/acpid
importas -D ${XDG_CONFIG_HOME}/acpi CONFIG_DIR CONFIG_DIR
acpid -f -d -c $CONFIG_DIR

View File

@ -0,0 +1 @@
longrun