summary refs log tree commit diff
path: root/os/etc/s6-rc/src/pipewire-log/run
blob: 8b8a4733c120c274bb07f75e412f079bbbd7e146 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/execlineb -P

envfile /etc/s6-rc/config/log.conf
envfile -I /etc/s6-rc/config/pipewire.conf
importas -sCuD "n2 s2000000 T" LOG_DIRECTIVES LOG_DIRECTIVES
importas -sCuD "/run/log" LOG_DIR LOG_DIR

foreground { install -d ${LOG_DIR}/pipewire }
s6-log -d3 -b -- ${LOG_DIRECTIVES} ${LOG_DIR}/pipewire