#!/bin/sh

exec 2>&1

[ -r conf ] && . ./conf
if [ "$#" = 0 ] ; then
    set -- -data /var/lib/galene -groups /etc/galene -static /usr/share/galene/static
fi
exec chpst -u _galene /usr/bin/galene "$@"
