Browse Source

qf-vmargs: setup crash dumps path (#155)

4.1 4.1.2
Pierre Fenoll 9 years ago
committed by bitbashing
parent
commit
3ccd46eabe
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      system/sbin/kazoo-applications

+ 1
- 0
system/sbin/kazoo-applications View File

@ -55,6 +55,7 @@ start() {
fi fi
export CODE_LOADING_MODE=interactive export CODE_LOADING_MODE=interactive
export ERL_CRASH_DUMP=/var/log/kazoo/$(date +%s)_erl_crash.dump
set -- ${BIN_FILE} "$@" set -- ${BIN_FILE} "$@"
if [ "$(whoami)" == "${USER}" ]; then if [ "$(whoami)" == "${USER}" ]; then
exec "$@" exec "$@"


Loading…
Cancel
Save