#!/bin/sh set -e LOG=/var/log/app/alpha-2 test -d "$LOG" || mkdir -p -m 2750 "$LOG" && chown app "$LOG" exec chpst -u app svlogd "$LOG"