void-packages/srcpkgs/bitlbee/files/bitlbee/run

6 lines
147 B
Bash

#!/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}