#!/bin/sh
set -e
install -d -m0755 -o bitlbee -g bitlbee /run/bitlbee
[ -r conf ] && . ./conf
exec chpst -u bitlbee:bitlbee bitlbee -n ${OPTS:=-F}