#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
export HOME=/var/lib/wireproxy
exec chpst -u _wireproxy wireproxy --config ${CONFFILE:-/etc/wireproxy/config}