summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2022-12-20 20:47:32 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2022-12-20 20:48:39 +0100
commitb618fc4179de4cfec504bb5d0aaefb33a68099e3 (patch)
treebfe5bcb88c6051e3a65dd4e8c63ef42fced2f5f0
parent9be8a7fad893479435e3ac53d1d732ae4c778596 (diff)
add ISO8601 timestamp
-rw-r--r--files/usr/local/bin/s6-svscanboot2
-rw-r--r--files/usr/local/bin/s6-svscanboot.buster2
-rw-r--r--templates/user_scandir/log/run.epp1
3 files changed, 3 insertions, 2 deletions
diff --git a/files/usr/local/bin/s6-svscanboot b/files/usr/local/bin/s6-svscanboot
index f2b6e35..aca8577 100644
--- a/files/usr/local/bin/s6-svscanboot
+++ b/files/usr/local/bin/s6-svscanboot
@@ -21,7 +21,7 @@ redirfd -w 2 /dev/console
redirfd -rnb 0 fifo
s6-setuidgid s6-logs
exec -c
-s6-log t /run/uncaught-logs\n"
+s6-log t T /run/uncaught-logs\n"
cat
}
if { chmod 0755 ${1}/s6-svscan-log/run }
diff --git a/files/usr/local/bin/s6-svscanboot.buster b/files/usr/local/bin/s6-svscanboot.buster
index 28aa5a1..8b1cc7c 100644
--- a/files/usr/local/bin/s6-svscanboot.buster
+++ b/files/usr/local/bin/s6-svscanboot.buster
@@ -21,7 +21,7 @@ redirfd -w 2 /dev/console
redirfd -rnb 0 fifo
s6-setuidgid s6-logs
exec -c
-s6-log t /run/uncaught-logs\n"
+s6-log t T /run/uncaught-logs\n"
cat
}
if { chmod 0755 ${1}/s6-svscan-log/run }
diff --git a/templates/user_scandir/log/run.epp b/templates/user_scandir/log/run.epp
index 797688c..37cc89f 100644
--- a/templates/user_scandir/log/run.epp
+++ b/templates/user_scandir/log/run.epp
@@ -13,6 +13,7 @@ define SVLOGDIR /var/log/s6/user_scandir_${SVUSER}/logs/
fdmove -c 2 1
s6-log
t
+ T
s1048576
S2147483648
!"mail -s \"user_sv log: ${SVUSER}\" -- root"