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

7 lines
153 B
Bash

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