Skip to content
This repository was archived by the owner on Nov 2, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/rvi_ctl.template
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ then
else
RUNDIR=${RVI_RUNDIR}
fi
install -d --mode=0755 ${RUNDIR}
mkdir -m 755 -p ${RUNDIR}

cd ${RUNDIR}
RVI_LOGDIR="${RVI_LOGDIR}" ${RVI_BINDIR}/setup_gen rvi ${CONFIG_FILE} rvi
)
Expand All @@ -122,7 +123,8 @@ LAUNCH="${ERL} -boot ${RUNDIR}/rvi/start -sname ${SNAME} -config ${RUNDIR}/rvi/s

case "${CMD}" in
start)
install -D -d --mode 0755 ${RVI_LOGDIR}
mkdir -m 755 -p ${RVI_LOGDIR}

exec run_erl -daemon ${RUNDIR}/ ${RVI_LOGDIR} "exec ${LAUNCH}"
;;

Expand Down