#!/bin/sh DOMAIN="" exec setuidgid jabber /usr/local/bin/sm -c /usr/local/etc/jabberd/sm-${DOMAIN:?No DOMAIN set}.xml 2>&1