gentoo-ebuilds/media-video/pipewire/files/pipewire.initd
Anna (navi) Figueiredo Gomes 567cd216a2
media-video/pipewire: add user initd
The ebuild still ships gentoo-pipewire-launcher in /etc/xdg/autostart,
so users in desktop environments that follow the xdg-autostart spec
should disable the pipewire launcher before attempting to use the
openrc-user init script.

Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-28 12:07:11 +00:00

11 lines
282 B
Text

#!/sbin/openrc-run
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License, v2 or later
depend() {
need dbus
}
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
supervisor=supervise-daemon
command="/usr/bin/pipewire"