#!/bin/sh
exec 2>&1
[ -r ./conf ] && . ./conf
: ${PORT=8001}
: ${KEY=RESET_KEY}
exec chpst -u _popcorn:_popcorn statrepo --port $PORT --reset_key $KEY