Redirect stderr to logs

This commit is contained in:
crater2150 2023-10-24 17:11:15 +02:00
parent 584c900e84
commit ffd832d066
19 changed files with 31 additions and 5 deletions

View file

@ -10,6 +10,7 @@ ln -s ${XDG_RUNTIME_DIR:-/run/user/$UID}/supervise.$1 $1/supervise
echo 'source ${0:a:h:h}/import-env.zsh'
echo "import-env ${importenv[2]} || exit 1"
fi
echo 'exec 2>&1'
echo "exec $*"
} > $1/run
chmod +x $1/run