void-packages/srcpkgs/pipewire/files/pipewire-pulse/run
Michal Vasilek 29b52e525c pipewire: update to 0.3.31.
* add a libusb dependency to improve bluetooth device capabilities detection
* add experimental system services for pipewire and pipewire-pulse
2021-07-14 11:11:22 -03:00

7 lines
314 B
Bash

#!/bin/sh
# this service is experimental and most setups should start pipewire as a user,
# for further information, please refer to the handbook
! [ -d /run/pulse ] && install -m 755 -g _pipewire -o _pipewire -d /run/pulse
umask 002
export PULSE_RUNTIME_PATH=/run
exec chpst -u _pipewire:_pipewire pipewire-pulse