summaryrefslogtreecommitdiff
path: root/init.d/pipewire
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-04-22 16:01:04 +0200
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-04-22 16:01:04 +0200
commita78633a08a31903e0794dd075e51615e0115684e (patch)
tree56175dead6183d926b44eafe7b3aa903142657cb /init.d/pipewire
initialHEADmain
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'init.d/pipewire')
-rwxr-xr-xinit.d/pipewire10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.d/pipewire b/init.d/pipewire
new file mode 100755
index 0000000..128f5c6
--- /dev/null
+++ b/init.d/pipewire
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+
+depend() {
+ need dbus
+}
+
+DBUS_SESSION_BUS_ADDRESS=$(rc-service --user dbus socket)
+command="/usr/bin/pipewire"
+command_background="true"
+pidfile="${XDG_RUNTIME_DIR}/pipewire.pid"