summaryrefslogtreecommitdiff
path: root/sv/pipewire/run
diff options
context:
space:
mode:
Diffstat (limited to 'sv/pipewire/run')
-rwxr-xr-xsv/pipewire/run9
1 files changed, 9 insertions, 0 deletions
diff --git a/sv/pipewire/run b/sv/pipewire/run
new file mode 100755
index 0000000..c6cf2e0
--- /dev/null
+++ b/sv/pipewire/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+if [ "${LOGGING_ENABLE}x" = "1x" -a -n "${LOG_LEVEL}" ]; then
+ export PIPEWIRE_DEBUG="${LOG_LEVEL}"
+fi
+
+exec pipewire ${OPTS:-} 2>&1