From ca905107a19fadc4131223d0f603875cb30c6408 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 19 Oct 2023 06:11:48 +0200 Subject: [PATCH] ndg: make sure logs go into syslog instead of tty --- ndg/env | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ndg/env b/ndg/env index 791b9ae..1fd7b5a 100644 --- a/ndg/env +++ b/ndg/env @@ -26,6 +26,11 @@ ndg_svc_install() { local svdir=/etc/sv/nd mkdir -p $svdir + if [ ! -f $svdir/log/run ]; then + mkdir -p $svdir/log + ln -sfT /usr/bin/vlogger $svdir/log/run + fi + cat < $svdir/finish.new #!/bin/sh # workaround https://git.qcode.ch/nakamochi/ndg/issues/17