From de0082649836e741dc2b2ff257465f2130b8fa35 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 15 Nov 2021 13:01:29 +0100 Subject: s6: add loggers --- .local/share/s6/footserver/log/run | 3 +++ .local/share/s6/footserver/run | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 .local/share/s6/footserver/log/run (limited to '.local/share/s6/footserver') diff --git a/.local/share/s6/footserver/log/run b/.local/share/s6/footserver/log/run new file mode 100755 index 0000000..bfbe9d7 --- /dev/null +++ b/.local/share/s6/footserver/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/footserver } +/bin/s6-log -b s1 T /var/log/s6/footserver diff --git a/.local/share/s6/footserver/run b/.local/share/s6/footserver/run index 8d052b3..ff44973 100755 --- a/.local/share/s6/footserver/run +++ b/.local/share/s6/footserver/run @@ -1,2 +1,2 @@ -#!/bin/execlineb -P -foot -s +#!/bin/sh +exec foot -s 2>&1 -- cgit 1.4.1