mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-15 03:38:07 +01:00
13 lines
275 B
Text
13 lines
275 B
Text
|
#!/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
|