Add acpid
This commit is contained in:
parent
d633c25222
commit
6eb20f478e
@ -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
|
||||
|
8
main/nnd-s6-services/rc/acpid/run
Normal file
8
main/nnd-s6-services/rc/acpid/run
Normal 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
|
1
main/nnd-s6-services/rc/acpid/type
Normal file
1
main/nnd-s6-services/rc/acpid/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
Loading…
Reference in New Issue
Block a user