void-packages/srcpkgs/moosefs/files/mfschunkserver/run

7 lines
163 B
Bash

#!/bin/sh
exec 2>&1
[ -e conf ] && . ./conf
: ${CONF_FILE:=/etc/mfs/mfschunkserver.cfg}
[ -e ${CONF_FILE} ] || exit 1
exec mfschunkserver -c ${CONF_FILE} -f start