From f5c219983c0f60a07f1bd52b6f6071e86f35455e Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 25 Sep 2023 11:56:34 +0200 Subject: add os config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- os/etc/s6-rc/src/dbus-system-log/run | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 os/etc/s6-rc/src/dbus-system-log/run (limited to 'os/etc/s6-rc/src/dbus-system-log/run') diff --git a/os/etc/s6-rc/src/dbus-system-log/run b/os/etc/s6-rc/src/dbus-system-log/run new file mode 100644 index 0000000..d5605ed --- /dev/null +++ b/os/etc/s6-rc/src/dbus-system-log/run @@ -0,0 +1,9 @@ +#!/bin/execlineb -P + +envfile /etc/s6-rc/config/log.conf +envfile -I /etc/s6-rc/config/dbus-system.conf +importas -sCuD "n2 s2000000 T" LOG_DIRECTIVES LOG_DIRECTIVES +importas -sCuD "/run/log" LOG_DIR LOG_DIR + +foreground { install -d ${LOG_DIR}/dbus-system } +s6-log -d3 -b -- ${LOG_DIRECTIVES} ${LOG_DIR}/dbus-system -- cgit 1.4.1