#!/bin/bash

. ${TOOLKIT}-functions.sh

dir=`	jtconf bzr.datadir`	|| exit_missing_define bzr.datadir
user=`	jtconf bzr.user`	|| exit_missing_define bzr.user
group=`	jtconf bzr.group`	|| exit_missing_define bzr.group

create_dir $dir $user:$group 770 || exit $?

$SOMETHING_CHANGED && {
	restart_service xinetd xinetd || exit_err $?
}
exit 0
