#!/bin/sh export USER="" export HOME="/home/" groups="$(id -Gn "$USER" | tr ' ' ':')" svdir="$HOME/.local/sv/" exec chpst -u "$USER:$groups" runsvdir "$svdir"