From 7c06f769e890b27f7a2f840a804a978f0373f698 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 11 Feb 2023 20:37:10 -0600 Subject: initialize repo with pipewire, pipewire-pulse and wireplumber --- sv/wireplumber/log/run | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 sv/wireplumber/log/run (limited to 'sv/wireplumber/log') diff --git a/sv/wireplumber/log/run b/sv/wireplumber/log/run new file mode 100755 index 0000000..aa89d14 --- /dev/null +++ b/sv/wireplumber/log/run @@ -0,0 +1,12 @@ +#!/bin/sh + +[ -r ../conf ] && . ../conf + +if [ "${LOGGING_ENABLE}x" == "1x" ]; then + # Create the log directory if not exists. + [ -d "${LOG_DIR}" ] || mkdir -p "${LOG_DIR}" + + exec svlogd -tt "${LOG_DIR}" +else + exec chpst -b wireplumber-log-null cat >/dev/null +fi -- cgit v1.2.3