#!/bin/sh

[ -s conf ] && . ./conf

: ${LOGDIR:=/var/log/h2o}

mkdir -p $LOGDIR
chown h2o:h2o $LOGDIR

exec h2o -c /etc/h2o.conf
