wireplumber: add runit service
ahesford: add log sub-service, redirect stderr in run script Co-authored-by: Andrew J. Hesford <ajh@sideband.org> Closes: #36416 [via git-merge-pr]
This commit is contained in:
parent
70a2e81b46
commit
9f50345e00
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r supervise/pid ] && kill -TERM -$(cat supervise/pid)
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec logger -t wireplumber -p daemon.info
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# this service is experimental and most setups should start pipewire and wireplumber as a user,
|
||||||
|
# for further information, please refer to the handbook
|
||||||
|
|
||||||
|
sv check dbus >/dev/null 2>&1 || exit 1
|
||||||
|
|
||||||
|
exec 2>&1
|
||||||
|
|
||||||
|
export HOME=/var/run/pipewire
|
||||||
|
exec chpst -u _pipewire:_pipewire:audio:video -P dbus-run-session wireplumber
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wireplumber'
|
# Template file for 'wireplumber'
|
||||||
pkgname=wireplumber
|
pkgname=wireplumber
|
||||||
version=0.4.8
|
version=0.4.8
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper=gir
|
build_helper=gir
|
||||||
configure_args="-Dintrospection=enabled -Dsystem-lua=true"
|
configure_args="-Dintrospection=enabled -Dsystem-lua=true"
|
||||||
|
@ -18,6 +18,7 @@ checksum=a7a84c21230c339a905704a9495dda10a4dec41a96bc115a9b33d24310a3f605
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
vsv wireplumber
|
||||||
}
|
}
|
||||||
|
|
||||||
wireplumber-devel_package() {
|
wireplumber-devel_package() {
|
||||||
|
|
Loading…
Reference in New Issue