#!/bin/sh -eux sv=${PWD%/log} sv=${sv#/etc/sv/} exec chpst -u root:adm \ logger -p auth.1 -t "$sv"