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

6 lines
153 B
Bash

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