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

7 lines
161 B
Bash

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