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

6 lines
143 B
Bash

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