dot

packages and services management
Log | Files | Refs | README

commit 3ba8083382f6c0ed016ef4ed20721deed512c933
parent cff1c3c050946162e3c2ba124265fa6751bed36e
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 30 Mar 2018 15:59:02 +0200

log everything that may fail

Diffstat:
Mrun/authsrv9/run | 12++++--------
Mrun/tinc/run | 2+-
Mrun/u9fs/run | 2+-
3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/run/authsrv9/run b/run/authsrv9/run @@ -13,16 +13,12 @@ port="567" exec 2>&1 - -mkdir -p dev # for /dev/log, for syslog - -mkdir -p bin # for the binary -authsrv="$(command -v authsrv9)" -[ -h "$authsrv" ] && authsrv="$(readlink -f "$authsrv")" -install -m750 -o root "$authsrv" bin/authsrv9 - +mkdir -p dev bin [ -f "auth/users/josuah/key" ] [ -f "auth/users/bootes/key" ] [ -f "auth/users/sys/key" ] +authsrv="$(command -v authsrv9)" +[ -h "$authsrv" ] && authsrv="$(readlink -f "$authsrv")" +install -m750 -o root "$authsrv" bin/authsrv9 exec tcpserver 0.0.0.0 "$port" chroot "$(dirname "$0")" authsrv9 diff --git a/run/tinc/run b/run/tinc/run @@ -1,6 +1,6 @@ #!/bin/sh -e -debug="5" +debug="4" mkdir -p "$HOME/var/run" diff --git a/run/u9fs/run b/run/u9fs/run @@ -5,10 +5,10 @@ # https://www.ueber.net/who/mjl/plan9/plan9-obsd.html port="564" -IFS='' read -r path <path exec 2>&1 +IFS='' read -r path <path chmod 600 key exec tcpserver 0.0.0.0 "$port" u9fs \