diff options
Diffstat (limited to '.config/.runit')
44 files changed, 150 insertions, 0 deletions
diff --git a/.config/.runit/sv/mpd/conf b/.config/.runit/sv/mpd/conf new file mode 100644 index 0000000..6227036 --- /dev/null +++ b/.config/.runit/sv/mpd/conf @@ -0,0 +1,9 @@ +# -*- mode: sh; -*- + +# Additional command line arguments for pipewire(1). +OPTS='' + +# Setting this to 1 enables logging, any other value - disables. +LOGGING_ENABLE=0 +# The directory will be created for you, if logging is enabled. +LOG_DIR="$HOME/var/log/mpd" diff --git a/.config/.runit/sv/mpd/log/run b/.config/.runit/sv/mpd/log/run new file mode 100755 index 0000000..09818ce --- /dev/null +++ b/.config/.runit/sv/mpd/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 mpd-log-null cat >/dev/null +fi diff --git a/.config/.runit/sv/mpd/log/supervise/lock b/.config/.runit/sv/mpd/log/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/lock diff --git a/.config/.runit/sv/mpd/log/supervise/pid b/.config/.runit/sv/mpd/log/supervise/pid new file mode 100644 index 0000000..3b2be15 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/pid @@ -0,0 +1 @@ +941 diff --git a/.config/.runit/sv/mpd/log/supervise/stat b/.config/.runit/sv/mpd/log/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/mpd/log/supervise/status b/.config/.runit/sv/mpd/log/supervise/status Binary files differnew file mode 100644 index 0000000..0413d38 --- /dev/null +++ b/.config/.runit/sv/mpd/log/supervise/status diff --git a/.config/.runit/sv/mpd/run b/.config/.runit/sv/mpd/run new file mode 100755 index 0000000..196d848 --- /dev/null +++ b/.config/.runit/sv/mpd/run @@ -0,0 +1,8 @@ +#!/bin/sh + +# Wait for the PipeWire Pulse daemon to start. +sv check "$HOME/.runit/sv/pipewire-pulse" >/dev/null || exit 1 + +[ -r ./conf ] && . ./conf + +exec mpd --no-daemon --stderr ${OPTS:-} 2>&1 diff --git a/.config/.runit/sv/mpd/supervise/lock b/.config/.runit/sv/mpd/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/lock diff --git a/.config/.runit/sv/mpd/supervise/pid b/.config/.runit/sv/mpd/supervise/pid new file mode 100644 index 0000000..34666ff --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/pid @@ -0,0 +1 @@ +942 diff --git a/.config/.runit/sv/mpd/supervise/stat b/.config/.runit/sv/mpd/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/mpd/supervise/status b/.config/.runit/sv/mpd/supervise/status Binary files differnew file mode 100644 index 0000000..c3e5969 --- /dev/null +++ b/.config/.runit/sv/mpd/supervise/status diff --git a/.config/.runit/sv/pipewire-pulse/conf b/.config/.runit/sv/pipewire-pulse/conf new file mode 100644 index 0000000..55f5f9e --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/conf @@ -0,0 +1,12 @@ +# -*- mode: sh; -*- + +# Additional command line arguments for pipewire-pulse. +OPTS='' + +# Setting this to 1 enables logging, any other value - disables. +LOGGING_ENABLE=0 +# Set the pipewire log level. +# See: https://docs.pipewire.org/page_daemon.html#sec_logging +LOG_LEVEL=1 +# The directory will be created for you, if logging is enabled. +LOG_DIR="$HOME/var/log/pipewire-pulse" diff --git a/.config/.runit/sv/pipewire-pulse/log/run b/.config/.runit/sv/pipewire-pulse/log/run new file mode 100755 index 0000000..ba8236e --- /dev/null +++ b/.config/.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 diff --git a/.config/.runit/sv/pipewire-pulse/log/supervise/lock b/.config/.runit/sv/pipewire-pulse/log/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/log/supervise/lock diff --git a/.config/.runit/sv/pipewire-pulse/log/supervise/pid b/.config/.runit/sv/pipewire-pulse/log/supervise/pid new file mode 100644 index 0000000..6600080 --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/log/supervise/pid @@ -0,0 +1 @@ +934 diff --git a/.config/.runit/sv/pipewire-pulse/log/supervise/stat b/.config/.runit/sv/pipewire-pulse/log/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/log/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/pipewire-pulse/log/supervise/status b/.config/.runit/sv/pipewire-pulse/log/supervise/status Binary files differnew file mode 100644 index 0000000..3c0fefe --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/log/supervise/status diff --git a/.config/.runit/sv/pipewire-pulse/run b/.config/.runit/sv/pipewire-pulse/run new file mode 100755 index 0000000..015c092 --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/run @@ -0,0 +1,12 @@ +#!/bin/sh + +# Wait for the PipeWire Media Session daemon to start. +sv check "$HOME/.runit/sv/wireplumber" >/dev/null || exit 1 + +[ -r ./conf ] && . ./conf + +if [ "${LOGGING_ENABLE}x" = "1x" -a -n "${LOG_LEVEL}" ]; then + export PIPEWIRE_DEBUG="${LOG_LEVEL}" +fi + +exec pipewire-pulse ${OPTS:-} 2>&1 diff --git a/.config/.runit/sv/pipewire-pulse/supervise/lock b/.config/.runit/sv/pipewire-pulse/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/supervise/lock diff --git a/.config/.runit/sv/pipewire-pulse/supervise/pid b/.config/.runit/sv/pipewire-pulse/supervise/pid new file mode 100644 index 0000000..10c7f0b --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/supervise/pid @@ -0,0 +1 @@ +936 diff --git a/.config/.runit/sv/pipewire-pulse/supervise/stat b/.config/.runit/sv/pipewire-pulse/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/pipewire-pulse/supervise/status b/.config/.runit/sv/pipewire-pulse/supervise/status Binary files differnew file mode 100644 index 0000000..21a6451 --- /dev/null +++ b/.config/.runit/sv/pipewire-pulse/supervise/status diff --git a/.config/.runit/sv/pipewire/conf b/.config/.runit/sv/pipewire/conf new file mode 100644 index 0000000..ac5d4a9 --- /dev/null +++ b/.config/.runit/sv/pipewire/conf @@ -0,0 +1,12 @@ +# -*- mode: sh; -*- + +# Additional command line arguments for pipewire(1). +OPTS='' + +# Setting this to 1 enables logging, any other value - disables. +LOGGING_ENABLE=1 +# Set the pipewire log level. +# See: https://docs.pipewire.org/page_daemon.html#sec_logging +LOG_LEVEL=1 +# The directory will be created for you, if logging is enabled. +LOG_DIR="$HOME/var/log/pipewire" diff --git a/.config/.runit/sv/pipewire/log/run b/.config/.runit/sv/pipewire/log/run new file mode 100755 index 0000000..64fc800 --- /dev/null +++ b/.config/.runit/sv/pipewire/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-log-null cat >/dev/null +fi diff --git a/.config/.runit/sv/pipewire/log/supervise/lock b/.config/.runit/sv/pipewire/log/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/pipewire/log/supervise/lock diff --git a/.config/.runit/sv/pipewire/log/supervise/pid b/.config/.runit/sv/pipewire/log/supervise/pid new file mode 100644 index 0000000..a5356d9 --- /dev/null +++ b/.config/.runit/sv/pipewire/log/supervise/pid @@ -0,0 +1 @@ +935 diff --git a/.config/.runit/sv/pipewire/log/supervise/stat b/.config/.runit/sv/pipewire/log/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/pipewire/log/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/pipewire/log/supervise/status b/.config/.runit/sv/pipewire/log/supervise/status Binary files differnew file mode 100644 index 0000000..7c58cab --- /dev/null +++ b/.config/.runit/sv/pipewire/log/supervise/status diff --git a/.config/.runit/sv/pipewire/run b/.config/.runit/sv/pipewire/run new file mode 100755 index 0000000..c6cf2e0 --- /dev/null +++ b/.config/.runit/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 diff --git a/.config/.runit/sv/pipewire/supervise/lock b/.config/.runit/sv/pipewire/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/pipewire/supervise/lock diff --git a/.config/.runit/sv/pipewire/supervise/pid b/.config/.runit/sv/pipewire/supervise/pid new file mode 100644 index 0000000..df43bf4 --- /dev/null +++ b/.config/.runit/sv/pipewire/supervise/pid @@ -0,0 +1 @@ +937 diff --git a/.config/.runit/sv/pipewire/supervise/stat b/.config/.runit/sv/pipewire/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/pipewire/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/pipewire/supervise/status b/.config/.runit/sv/pipewire/supervise/status Binary files differnew file mode 100644 index 0000000..f3e5979 --- /dev/null +++ b/.config/.runit/sv/pipewire/supervise/status diff --git a/.config/.runit/sv/wireplumber/conf b/.config/.runit/sv/wireplumber/conf new file mode 100644 index 0000000..09f3e3f --- /dev/null +++ b/.config/.runit/sv/wireplumber/conf @@ -0,0 +1,12 @@ +# -*- mode: sh; -*- + +# Additional command line arguments for wireplumber. +OPTS='' + +# Setting this to 1 enables logging, any other value - disables. +LOGGING_ENABLE=0 +# Set the wireplumber log level. +# See: https://pipewire.pages.freedesktop.org/wireplumber/daemon-logging.html +LOG_LEVEL=2 +# The directory will be created for you, if logging is enabled. +LOG_DIR="$HOME/var/log/wireplumber" diff --git a/.config/.runit/sv/wireplumber/log/run b/.config/.runit/sv/wireplumber/log/run new file mode 100755 index 0000000..aa89d14 --- /dev/null +++ b/.config/.runit/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 diff --git a/.config/.runit/sv/wireplumber/log/supervise/lock b/.config/.runit/sv/wireplumber/log/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/wireplumber/log/supervise/lock diff --git a/.config/.runit/sv/wireplumber/log/supervise/pid b/.config/.runit/sv/wireplumber/log/supervise/pid new file mode 100644 index 0000000..b4f7160 --- /dev/null +++ b/.config/.runit/sv/wireplumber/log/supervise/pid @@ -0,0 +1 @@ +938 diff --git a/.config/.runit/sv/wireplumber/log/supervise/stat b/.config/.runit/sv/wireplumber/log/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/wireplumber/log/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/wireplumber/log/supervise/status b/.config/.runit/sv/wireplumber/log/supervise/status Binary files differnew file mode 100644 index 0000000..1db6b52 --- /dev/null +++ b/.config/.runit/sv/wireplumber/log/supervise/status diff --git a/.config/.runit/sv/wireplumber/run b/.config/.runit/sv/wireplumber/run new file mode 100755 index 0000000..cab4263 --- /dev/null +++ b/.config/.runit/sv/wireplumber/run @@ -0,0 +1,12 @@ +#!/bin/sh + +# Wait for the PipeWire daemon to start. +sv check "$HOME/.runit/sv/pipewire" >/dev/null || exit 1 + +[ -r ./conf ] && . ./conf + +if [ "${LOGGING_ENABLE}x" == "1x" -a -n "${LOG_LEVEL}" ]; then + export WIREPLUMBER_DEBUG="${LOG_LEVEL}" +fi + +exec wireplumber ${OPTS:-} 2>&1 diff --git a/.config/.runit/sv/wireplumber/supervise/lock b/.config/.runit/sv/wireplumber/supervise/lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.config/.runit/sv/wireplumber/supervise/lock diff --git a/.config/.runit/sv/wireplumber/supervise/pid b/.config/.runit/sv/wireplumber/supervise/pid new file mode 100644 index 0000000..791a8be --- /dev/null +++ b/.config/.runit/sv/wireplumber/supervise/pid @@ -0,0 +1 @@ +939 diff --git a/.config/.runit/sv/wireplumber/supervise/stat b/.config/.runit/sv/wireplumber/supervise/stat new file mode 100644 index 0000000..f5bdd21 --- /dev/null +++ b/.config/.runit/sv/wireplumber/supervise/stat @@ -0,0 +1 @@ +run diff --git a/.config/.runit/sv/wireplumber/supervise/status b/.config/.runit/sv/wireplumber/supervise/status Binary files differnew file mode 100644 index 0000000..b24ee22 --- /dev/null +++ b/.config/.runit/sv/wireplumber/supervise/status |