diff options
author | GitIR <git@zachir.xyz> | 2025-08-13 17:36:31 -0500 |
---|---|---|
committer | GitIR <git@zachir.xyz> | 2025-08-13 17:36:31 -0500 |
commit | f1b0dd12663867863f58db2d5735cdb3cc84da04 (patch) | |
tree | 2c9d38e6ccd82721090c7030766f91eaf36a82a5 /runit/sv/pipewire-pulse/log | |
parent | 2666a2d597f5fb4222142a5ce147546cf588887a (diff) | |
parent | c0ee1d4b5dbd37b05947ffcc584c0834d523626d (diff) |
Merge branch 'master' into rai-master
Diffstat (limited to 'runit/sv/pipewire-pulse/log')
-rwxr-xr-x | runit/sv/pipewire-pulse/log/run | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runit/sv/pipewire-pulse/log/run b/runit/sv/pipewire-pulse/log/run new file mode 100755 index 0000000..ba8236e --- /dev/null +++ b/runit/sv/pipewire-pulse/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 pipewire-pulse-log-null cat >/dev/null +fi |