ndg: make sure logs go into syslog instead of tty

dev
alex 1 year ago
parent 55a10aa04a
commit ca905107a1
Signed by: x1ddos
GPG Key ID: 540189B756BF5B12

@ -26,6 +26,11 @@ ndg_svc_install() {
local svdir=/etc/sv/nd local svdir=/etc/sv/nd
mkdir -p $svdir mkdir -p $svdir
if [ ! -f $svdir/log/run ]; then
mkdir -p $svdir/log
ln -sfT /usr/bin/vlogger $svdir/log/run
fi
cat <<EOF > $svdir/finish.new cat <<EOF > $svdir/finish.new
#!/bin/sh #!/bin/sh
# workaround https://git.qcode.ch/nakamochi/ndg/issues/17 # workaround https://git.qcode.ch/nakamochi/ndg/issues/17

Loading…
Cancel
Save