diff options
Diffstat (limited to 'run-image/service')
| -rwxr-xr-x | run-image/service/s6-svscan-log/run | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/run-image/service/s6-svscan-log/run b/run-image/service/s6-svscan-log/run index e780032..3d1b0da 100755 --- a/run-image/service/s6-svscan-log/run +++ b/run-image/service/s6-svscan-log/run @@ -1,8 +1,9 @@ #!/bin/execlineb -P -importas -SuD "n2 s2000000 T" LOG_DIRECTIVES +importas -S -D "/run" XDG_RUNTIME_DIR +importas -SCuD "n2 s2000000 T" LOG_DIRECTIVES fdmove -c 1 2 redirfd -rnb 0 fifo -if { install -d /run/user/1000/uncaught-logs } -s6-log -d3 -bp -- ${LOG_DIRECTIVES} /run/user/1000/uncaught-logs +if { install -d ${XDG_RUNTIME_DIR}/uncaught-logs } +s6-log -d3 -bp -- ${LOG_DIRECTIVES} ${XDG_RUNTIME_DIR}/uncaught-logs |