#!/bin/zsh
SERVICE=${0:a:h:h:t}
LOGDIR=${SVLOGDIR:-$HOME/.local/log}/$SERVICE
mkdir -p $LOGDIR
exec svlogd -ttt $LOGDIR