gen_config()
{
- echo "host/$(invirt-getconf remote.hostname)@$(invirt-getconf authn.0.realm)" \
- > /etc/remctl/acl/remote
+ for i in /etc/remctl/acl/remote
+ do mako-render $i.mako > $i
+ done
}
case "$1" in
log_begin_msg "Reloading config for $PACKAGE"
gen_config
log_end_msg $?
+ /etc/init.d/openbsd-inetd start # idempotent, thankfully
;;
stop)
;;