#!/bin/sh

[ -r ./conf ] && . ./conf

export CADDYPATH=/var/lib/caddy
ulimit -n ${MAX_OPEN_FILES:-8192}
cd /etc/caddy
exec chpst -u caddy caddy
