From 78e1a5e6df2cbd4e4dafb15d18345ab94825e317 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 22 Sep 2025 18:36:58 +0200 Subject: initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- run-image/service/s6-svscan-log/notification-fd | 1 + run-image/service/s6-svscan-log/run | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 run-image/service/s6-svscan-log/notification-fd create mode 100755 run-image/service/s6-svscan-log/run (limited to 'run-image/service/s6-svscan-log') diff --git a/run-image/service/s6-svscan-log/notification-fd b/run-image/service/s6-svscan-log/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/run-image/service/s6-svscan-log/notification-fd @@ -0,0 +1 @@ +3 diff --git a/run-image/service/s6-svscan-log/run b/run-image/service/s6-svscan-log/run new file mode 100755 index 0000000..e780032 --- /dev/null +++ b/run-image/service/s6-svscan-log/run @@ -0,0 +1,8 @@ +#!/bin/execlineb -P + +importas -SuD "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 -- cgit 1.4.1