#!/bin/sh set -e LOG=<%= log %>/<%= name %>-<%= num %> test -d "$LOG" || mkdir -p m2750 "$LOG" && chown <%= user %> "$LOG" exec chpst -u <%= user %> svlogd "$LOG"