#!/bin/sh
USER=@USER@
HOME="home/$USER"
GROUPS="$(id -Gn "$USER" | tr ' ' ':')"
SVDIR="$HOME/sv"
exec chpst -u "$USER:$GROUPS" sh -l -c "exec runsvdir $SVDIR $USER" $USER