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

6 lines
151 B
Bash

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