blob: 8fa9d706f81f29e7469fc002487f47e67c310684 (
plain)
1
2
3
4
5
6
7
8
9
10
|
post_install() {
printf '\n'
printf '%s\n' " -> Adding 'pipewire' system user and group ..."
id -u pipewire > /dev/null 2>&1 || useradd --system --home-dir /run/pipewire --no-create-home --user-group --groups audio,video,dbus pipewire
printf '\n'
printf '%s\n' " -> NOTE! Things usually will run better when the services are not started system-wide, but as user processes."
printf '%s\n' " You _might_ end up with no sound at all if you start things system wide."
printf '\n'
}
|