void-packages/srcpkgs/moosefs/files/mfschunkserver/run
classabbyamp 351646d5bd *: add exec 2>&1 to all existing services
except when it already exists, of course
2023-02-09 21:36:13 -05:00

6 lines
163 B
Bash

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